[Bug c++/71786] Constructor never called
glisse at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Thu Jul 7 07:40:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=71786
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |INVALID
--- Comment #3 from Marc Glisse <glisse at gcc dot gnu.org> ---
The second A is constructed by a copy/move constructor, which is generated by
default. You need to write one yourself and register the pointer there.
More information about the Gcc-bugs
mailing list