Hello
How to convert shared_ptr that points to const object to shared_ptr that point to nonconst object. I am trying to do the following :
boost::shared_ptr<const A> Ckk(new A(4));
boost::shared_ptr<A> kk=const_cast< boost::shared_ptr<A> > Ckk;
But it doesnot work.