Check for C++ ctors that should be declared 'explicit'.

Samir Faci kdelove at esamir.com
Sun Mar 30 00:40:33 UTC 2008


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 3350 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20080329/df2b47b7/attachment.obj>


More information about the KDevelop-devel mailing list