$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
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