26 Feb
2006
26 Feb
'06
2:44 a.m.
Thank you.
From: Rene Rivera
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