j
k
j a
j l
Hi, I have a vector and I want to switch boost's ref count pointer like this: vector< boost::shared_ptr<A> > aVector; aFunc(aVector[0]) ; // just call a My question is should I change the function parameter of aFuncion from this: void aFunc(A* aPtr) { // access aPtr } to this: void aFunc(shared_ptr<A> aPtr) { // access aPtr } Thank you.
Back to the thread
Back to the list