|
Boost Users : |
Subject: Re: [Boost-users] shared_ptr to const object
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-12-04 19:58:19
AMDG
Jason Cipriani wrote:
> How do I represent "const Object *" as a shared_ptr? Using "const
> shared_ptr<Object>" is not right, it makes the shared_ptr const, not
> the Object.
>
shared_ptr<const Object>
In Christ,
Steven Watanabe
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