News for hackers. Stuff that matters.
Re:C++ by Example by deadbeeves on Thursday September 22, 2022 @12:29PM (#32941215)
Hmm... Good point. I don't think it's a portable solution.
Re:C++ by Example by account42 on Friday September 23, 2022 @11:37AM (#32953352)
It also would allow anyone to construct your class via make_* which kind of defeats the point of making the constructor private in the first place.