
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Monday 24 March 2008 06:53 am, Tim Blechmann wrote:
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); }
You'll have to be more specific about the problem you're encountering, and what compiler you're using. The code compiles cleanly for me. - -- Frank -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFH57Wo5vihyNWuA4URAuRQAJ9fjFM26ZDKMK3FWD5KWBIXA5oWrQCeKvbM yjRyDvipCSWTXbnG/7EslPE= =sKr/ -----END PGP SIGNATURE-----