|
Boost Users : |
From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-09-07 18:25:52
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);
How about
void AddChild(shPtrA const& child);
?
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net