Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2003-01-31 23:26:11


"Andrei Alexandrescu" <andrewalex_at_[hidden]> writes:

> "David B. Held" <dheld_at_[hidden]> wrote in message
> news:b1ehpj$j1n$1_at_main.gmane.org...
>> Actually, you can control mixing by determining which policies can be
>> constructed from which other policies. I just didn't know if it was a
>> good idea to let users freely mix auto_ptr with shared_ptr. But I
>> suppose if they get an auto_ptr from legacy code, and they want it to be
>> managed by shared_ptr, that is a legitimate use.
>
>
> Indeed. Having policies decide which way, if at all, they plan to
> interoperate, is imho a key strenght of pbd.

I keep forgetting how nicely that works.

Thanks for the reminder,
Dave

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk