
3 Dec
2005
3 Dec
'05
12:23 a.m.
"Nathan E. Moore"
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.
?? How so?
Not to mention that stack lacks a virtual destructor.
So use private inheritance if you're worried. -- Dave Abrahams Boost Consulting www.boost-consulting.com