Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 2000-03-13 13:06:02


At 07:49 AM 3/13/00 -0800, Stephen Cleary wrote:

>... I don't like splitting up our smart pointers into several
>dozen classes with hard-to-remember naming schemes or obscure
template
>parameters.

Agreed. Maybe a single template parameter (in addition to T) which
specifies a traits class can hide the details. With a default to
something "good enough" for most or at least many uses.

> So I guess I don't have a solution; this is just a
>description of the problem.

That is valuable. Having a taxonomy at least lets us talk about the
alternatives.

--Beman


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