[Bug c++/22406] -Weffc++ warns about missing op= and copy ctor, even when base classes have already disabled these

Jason dot A dot Wilkins at gmail dot com gcc-bugzilla@gcc.gnu.org
Sun Feb 22 14:43:00 GMT 2009



------- Comment #4 from Jason dot A dot Wilkins at gmail dot com  2009-02-22 14:43 -------
(In reply to comment #3)
It is my understanding that constructors are not inherited so a derived class
really does not declare or define a copy constructor.


-- 

Jason dot A dot Wilkins at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |Jason dot A dot Wilkins at
                   |                            |gmail dot com


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



More information about the Gcc-bugs mailing list