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


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