Make the copy constructor private. Of course, this might also have the side-effect of preventing the use of the STL container, given that being copy constructible is, y'know, a requirement. Use a ...
Using member initializers offers more control over what constructors do, and helps eliminate unnecessary default initialization. In C++, a constructor is a special class member function that provides ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results