Topic: [C++0x] shared_from_this() from constructor
Author: Florian Goujeon <florian.goujeon@42ndart.org>
Date: Wed, 25 Aug 2010 16:49:13 CST Raw View
The current GCC's implementation doesn't allow to call
shared_from_this() from the class' constructor, just like the original
Boost's implementation.
Is this a standard-compliant behavior? The current draft doesn't talk
about this.
I hope it's not. This is really annoying...
--
[ comp.std.c++ is moderated. To submit articles, try just posting with ]
[ your news-reader. If that fails, use mailto:std-c++@netlab.cs.rpi.edu]
[ --- Please see the FAQ before posting. --- ]
[ FAQ: http://www.comeaucomputing.com/csc/faq.html ]