"David B. Held" <[EMAIL PROTECTED]> wrote in message
b1ehpj$j1n$[EMAIL PROTECTED]">news:b1ehpj$j1n$[EMAIL PROTECTED]...
> 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.

Most ownership policies should accept the destructive copy policy.


Andrei



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to