[Bug c++/61587] Line number of code that triggers "use of deleted function" error is absent from error message

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Jun 23 17:08:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61587

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
Your type's copy constructor is implicitly-declared, so there is no exact line
number to point to. That's why it points to the class definition at line 6



More information about the Gcc-bugs mailing list