$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Peter Dimov (pdimov_at_[hidden])
Date: 2002-02-06 08:32:51
From: "Synge Todo" <wistaria_at_[hidden]>
> From: "Andrei Alexandrescu" <andrewalex_at_[hidden]>
> Date: Tue, 5 Feb 2002 14:06:47 -0800
> > That's the wrong way of doing it. You don't inherit from a class just to
add
> > data members and/or functions. (It's true it was a popular idiom in
early
> > C++.)
>
> I'm just confused. If so, when can we use a public inheritance? Do
> you think what the defect in this implementation is?
The right way of dealing with this particular case is to ignore std::stack
and the other adaptors. They have no practical value and serve only as
examples.