Clang error: calling a private constructor while none of them were actually called
I made a static function of some class, and made constructor private. Now I want to use the function. Clang++ says "The constructor is private", while g++ compiles normally. The thing is, I don’t know if there are any rules in any Standard which could affect this in any way. Any function can make a… Read More Clang error: calling a private constructor while none of them were actually called