Boost logo

Boost Users :

From: Nathan E. Moore (nate_at_[hidden])
Date: 2005-12-02 13:09:53


On Thu, 01 Dec 2005 18:16:21 -0200, Bruno Martínez wrote:
> I don't think it's psossible, because std::stack doesn't expose enough
> information. Either use deque/vector directly or inherit from std::stack
> to get access to the inner deque.
>
> Regards,
> Bruno

Inheriting from the std::stack is horrible idea. It is not portable. Not
to mention that stack lacks a virtual destructor.

Nathan Moore


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net