Thread: Check for C++ ctors that should be declared 'explicit'.
Check for C++ ctors that should be
declared 'explicit'.
2008-03-29 19:40:33
Make all C++ class constructors that can be used with only
one
required argument 'explicit' to minimize wrong use of the
class. Do
this to avoid mistaken implicit constructor ambiguities.
Copy
constructors should not be explicit.
_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel