Boost logo

Boost :

From: David Abrahams (abrahams_at_[hidden])
Date: 2001-04-02 14:33:50


----- Original Message -----
From: "Matthew Austern" <austern_at_[hidden]>

> >
> > It seems to me that this example shows why we need a generative
approach.
> > basic_string couldn't make all users happy because it was just one
class.
> > As with string, the needs and wants of mutex users vary a great deal. If
> > we don't have a generative system, we can't meet these varied needs.
>
> I don't agree with that last sentence. If you need more than one class,
> it does not follow that the only solution is to have a generative system.
> Maybe the right solution is just to have more than one class.

We could avoid the problem using a layered approach: if you have all the
classes, sticking a generative interface on top is simple.

-Dave


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