Boost logo

Boost Users :

Subject: [Boost-users] shared_ptr to const object
From: Jason Cipriani (jason.cipriani_at_[hidden])
Date: 2008-12-04 19:43:43


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.

Thanks,
Jason


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