|
Boost : |
From: Miki Jovanovic (miki_at_[hidden])
Date: 2000-01-25 15:51:32
Hi all,
Hmm... I mean really hmm. smart_ptr as it stands now says:
shared_ptr(const shared_ptr& r) throw() : px(r.px) { ++*(pn = r.pn); }
Now, will somebody explain to me how can you do:
pn = r.pn;
when pn is not const and r (and therefore r.pn) is const.
Cheers,
(slightly puzzled) Miki Jovanovic.
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk