$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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);
?