[Bug c++/16165] -Weffc++ item 11 improvements

bkoz at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Jun 24 02:17:00 GMT 2004


------- Additional Comments From bkoz at gcc dot gnu dot org  2004-06-24 02:13 -------

Also, another problem is base classes with private copy contructors and
assignment operators, and derived classes without explicit definitions giving a
false warning. Although, I suppose the checks for actual allocation or a
destructor would pick this up too.

This is a pretty common idiom, ie. std::locale::facet and everything derived
from it, singletons, etc.



-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16165



More information about the Gcc-bugs mailing list