Thank you, Jim. ^-^ By using boost::intrusive_ptr, the problem is solved. Everything works well. -- View this message in context: http://boost.2283326.n4.nabble.com/transfer-ownership-problem-tp3495846p3497818.html Sent from the Python - c++-sig mailing list archive at Nabble.com.