From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2003-04-30 10:28:46


Dear all,

I'm a newbie in boost!

I want to know what the following means:

int a = 5;
const boost::shared_ptr<int> sp(&a);

Does it mean that the following line is an error?

*sp = 7;

If so, what are the guarantees? Is there any
documented
guarantee? (I couldn't find anything in the
documentation. Excuseme if I'm careless!)

Thanks,
--Hossein

__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com