From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2005-04-26 17:16:24
"Peter Dimov" <pdimov_at_[hidden]> wrote in message
| Howard Hinnant wrote:
| > On Apr 26, 2005, at 11:37 AM, Peter Dimov wrote:
| >> ConstPropagation policy (with the default being No for shallow copy
| >> and Yes for deep copy).
| > I've been toying with a smart pointer adaptor for this one. I really
| > haven't fully fleshed out the thinking on it though...
| > template <class SP>
| > class deep_const
| Yes, conversion and checking can be implemented as adaptors, too.
| But a really smart pointer would have the right default for const
| propagation depending on the ownership policy. :-)
could you explain what that default would be?
(I think I know the answer; I definitely know what I think the answer should
be, but I would like Howard hear you say it)
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk