9 Jun
2012
9 Jun
'12
2:34 p.m.
example: class MyClass { boost::shared_ptrboost::shared_array<char> pBuff; void getnextpacket(size) { pBuff = boost::shared_ptrboost::shared_array<char> (new boost::shared_array<char>(new char[size])); ... } void other_func() { // use pBuff here ... } } -- View this message in context: http://boost.2283326.n4.nabble.com/question-about-boost-pointer-tp4631069p46... Sent from the Boost - Users mailing list archive at Nabble.com.