This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/37255] std::auto_prtr copy-initialization, base-from-derived (Colvin-Gibbons trick) does not work



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]