Boost logo

Boost :

From: Thorsten Ottosen (nesotto_at_[hidden])
Date: 2002-10-10 10:20:07

> > Now, your templates are really clever. I think that approach would
> > much dependency. However, I think I will still get problems
> > when I need to use set and stack because insert() is different for set
> > stack uses push(). What would be the most elegant way out of this
> It works for std::set. std::stack? Have you ever used it, let alone
> initialized it with preset values? ;-)

Sorry, I made a wrong test. My test didn't compile with set, but it was
wonrg. Well, stacks occur
sometimes. Think of a unit test of some function that modifies a stack or
takes a stak as input. In that
case it would be nice with some quick setup of a test stack.


Boost list run by bdawes at, gregod at, cpdaniel at, john at