Boost logo

Boost Users :

From: David Abrahams (dave_at_[hidden])
Date: 2006-03-28 18:33:02


Yuval Ronen <ronen_yuval_at_[hidden]> writes:

> Is there a meta-function that creates a tuple type which contains the
> types contained in a type-sequence? (I'm talking about a similar thing
> to variant's make_variant_over).

You should look into the Fusion library (part of Spirit today), which
contains exactly such a function, called "generate."

-- 
Dave Abrahams
Boost Consulting
www.boost-consulting.com

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