Well this is my first time using boost and I have a question
Using this example:
A) Is this the right way to use it?Code:class TEST { //...blah }; boost::shared_ptr<TEST> CTestnew TEST);
B) Do I have to do a delete like old pointers or does the smart pointer do it for you?




Reply With Quote