|
Boost : |
From: David Abrahams (abrahams_at_[hidden])
Date: 2000-09-14 17:58:26
----- Original Message -----
From: "William Kempf" <sirwillard_at_[hidden]>
> --- In boost_at_[hidden], Eric Swanson <ESwanson_at_I...> wrote:
> > It might be useful to take a cue from the STL: stack<>'s 'Cont c'
> > member is protected, not private.
>
> I really don't understand why the STL did this.
Maybe because somebody realized they were leaving out such obvious functions
as clear().
I recently had to make a class template derived from stack so I could add
that functionality. ;/
-Dave
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk