I program in an open source library that has very few comments in the code, and absolutely no documentation related to the code, or comments that show absolutely nothing or are confusing. An example library class is sometimes defined as follows (this is an abstract short example):
class A { private:
The "Deny default bitmap" comment before the private constructor will indicate that when I define the type, I need to define my own copy constructor to avoid the one generated "for me ambiguously by the compiler. This is what I have learned so far on this topic, but in this case the constructor is private , and compilation is interrupted in this form.
Q: Is there a reason for such a thing? A copy constructor that is private? And what does this comment mean?
Tomislav
source share