Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-01-06 08:10:22

From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>
> * I happen to think that separate policies orchestrated by smart_ptr form
> better design for smart_ptr than nested ones. Maybe it's me, but I prefer
> checking to have a different interface than storage.

Pros: policies are smaller, have a fixed interface.
Cons: can't replace the plumbing in smart_ptr.

The other approach, where smart_ptr is an empty shell and everything comes
from policies (components) (well, except constructors, assignment and swap)
is the exact opposite. :-)

Peter Dimov
Multi Media Ltd.

Boost list run by bdawes at, gregod at, cpdaniel at, john at