This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/37255] std::auto_prtr copy-initialization, base-from-derived (Colvin-Gibbons trick) does not work
- From: "paolo dot carlini at oracle dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2008 13:31:19 -0000
- Subject: [Bug libstdc++/37255] std::auto_prtr copy-initialization, base-from-derived (Colvin-Gibbons trick) does not work
- References: <bug-37255-16640@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from paolo dot carlini at oracle dot com 2008-08-27 13:31 -------
Also note that section 8.5, referred in the text of that 1997 paper, is rather
different in the actual, published standard, and I'm not sure exactly the same
conclusions apply.
Our implementation of auto_ptr is rather literal, as regards the set of
provided constructors, conversion operators, etc., it seems unlikely to me that
something is wrong with it about this issue (by the way, why don't you just
open the header and give a look? This is Free Software, remember!)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37255