This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/39405] [4.3 regression] std::shared_ptr barfs on incomplete template class that boost::shared_ptr accepts
- 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: 13 Mar 2009 18:32:10 -0000
- Subject: [Bug libstdc++/39405] [4.3 regression] std::shared_ptr barfs on incomplete template class that boost::shared_ptr accepts
- References: <bug-39405-6959@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #21 from paolo dot carlini at oracle dot com 2009-03-13 18:32 -------
Now I think I know the conservative way we want to go for the branch: just
change shared_ptr<>::operator* to always use something with the same semantics
of std::tr1::add_reference. For mainline, we'll see if there is still something
to tweak, also in relation to 39310...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39405