[Bug c++/39728] diagnostic for private operator= is voluminous and unhelpful
redi at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 16 10:45:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39728
--- Comment #3 from Jonathan Wakely <redi at gcc dot gnu.org> 2012-04-16 10:44:19 UTC ---
(In reply to comment #1)
> I think libstdc++ include pathes make the error message useless
Manu has a patch for that in PR 52974
(In reply to comment #2)
> * What is a "synthesized method"? Where this term comes from? Is this something
> that an average C++ programmer can understand?
Every C++ programmer knows that the compiler implicitly defines special member
functions, including the copy-assignment operator but I don't really like the
terminology. C++ doesn't have methods, it has member functions, and the formal
term in the standard is "implicitly-defined" not synthesized.
More information about the Gcc-bugs
mailing list