This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]