[Bug libstdc++/37255] std::auto_prtr copy-initialization, base-from-derived (Colvin-Gibbons trick) does not work
paolo dot carlini at oracle dot com
gcc-bugzilla@gcc.gnu.org
Wed Aug 27 13:44:00 GMT 2008
------- Comment #4 from paolo dot carlini at oracle dot com 2008-08-27 13:43 -------
Yes, given the actual ISO C++ specifications, std::auto_ptr<Base> does not have
a suitable copy constructor, for a temporary, which would be required to
compile the code. We can't do much about this.
--
paolo dot carlini at oracle dot com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37255
More information about the Gcc-bugs
mailing list