j
k
j a
j l
Brad Ryder: ...
typedef boost::shared_ptr<A> shPtrA; typedef boost::shared_ptr<B> shPtrB; typedef boost::shared_ptr<C> shPtrC; class A { void AddChild(shPtrA& child);
typedef boost::shared_ptr<A> shPtrA; typedef boost::shared_ptr<B> shPtrB; typedef boost::shared_ptr<C> shPtrC;
class A {
void AddChild(shPtrA& child);
How about void AddChild(shPtrA const& child); ?
Back to the thread
Back to the list