Boost logo

Boost Users :

From: Brad Ryder (bradryder67_at_[hidden])
Date: 2007-09-07 20:32:06


On 9/7/07, Peter Dimov <pdimov_at_[hidden]> wrote:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users
>

Peter,

Thanks for helping me out here. You can see in my previous post, I am
still having difficulty.

Brad


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