|
Boost : |
From: Tim Blechmann (tim_at_[hidden])
Date: 2008-03-24 06:53:33
hi all,
a few days ago, some changes to the shared_from_this implementation have
been committed to the trunk ...
the changes break the following code, though (maybe this can be added to
the shared_from_this_test.cpp test suite?):
struct V: public boost::enable_shared_from_this<V>
{};
struct W: V
{};
void test4(void)
{
W * w = new W();
boost::shared_ptr<W> p(w);
}
best, tim
-- tim_at_[hidden] http://tim.klingt.org Most of the trouble in this world has been caused by folks who can't mind their own business, because they have no business of their own to mind, any more than a smallpox virus has. William S. Burroughs
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk