Boost logo

Boost :

From: Dave Abrahams (abrahams_at_[hidden])
Date: 2000-05-30 22:56:53


on 5/30/00 8:27 PM, Andrei Alexandrescu at andrewalex_at_[hidden] wrote:

> 1. There's no way of combining them. Basically I have proved to
> myself that there are few ways of combining behaviors at design time,
> aside from using policy classes, and policy classes are the best way.
>
> 2. There's no way of configuring/tweaking them. Each app has some
> specific needs, and I think anyone would acknowledge this. Just how
> many times you said "Ah, I'd love to use BrainyPtr but I use COM and
> BrainyPtr doesn't support COM"? With SmartPtr, adding COM support is
> as easy as writing 15 lines of code.

Having just written another specialized smart pointer for my Python stuff
(and a pretty lame one at that), I find Andrei's arguments compelling. I am
very interested to see what he has come up with in this department.

-Dave


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