
25 Feb
2006
25 Feb
'06
7:44 p.m.
Thank you. From: Rene Rivera <grafik.list@redshift-software.com> Date: Sat, 25 Feb 2006 12:41:13 -0600 Message-Id: <4400A4C9.5050109@redshift-software.com> /~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
int main() { boost::shared_ptr<const int> ip(new int(1)); *ip = 2; // NG ip.reset(new int(2)); //OK }
There might have been a problem in another place somewhere though I was going to have tested its method. I'm sorry. I had to have tried before post by a simple code like the above-mentioned.
Is it really hard to understand the documentation such that the answer isn't obvious? We would really like know so the documentation improves.
I think that exemplifying in documentation is kinder. ---- pegacorn