
"Peter Dimov" <pdimov@mmltd.net> wrote in message news:093101c54aa9$6be49c80$6401a8c0@pdimov2... | 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) -Thorsten