Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-12-16 19:58:46


Terje Slettebø <tslettebo_at_[hidden]> writes:

> Well, he asked for a boost::tuple, and this gave a boost::tuple, with the
> exact same type. The reason I provided it was that he seemed to not be
> satisfied with a type that behaves the same way as boost::tuple, but don't
> have the same type. This could be for example if you use boost::tuple in an
> interface, that is being called. Your fold-solution won't work then, will
> it?

Nope. In that case you'll need the PP lib to generalize.

> Then it's a question of which version is more general...
>
> In short, this depends on the requirements for the solution, so don't be so
> quick to write it off, before you know what they are.

It's still "oof".

Feelin' punchy-ly y'rs,
Dave

-- 
                       David Abrahams
   dave_at_[hidden] * http://www.boost-consulting.com
Boost support, enhancements, training, and commercial distribution

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk