Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2003-11-03 18:49:41


David Abrahams wrote:
>
> My feeling is that the most-principled (if not most-convenient)
> design for variant would change the current usage
>
> variant<some-mpl-type-sequence>
>
> into
>
> variant<variant_types<some-mpl-type-sequence> >
>
> and leave
>
> variant<some-mpl-type-sequence>
>
> for the case where you actually want an instance of
> some-mpl-type-sequence in the variant.

Or variant_from_sequence<mpl-seq>::type?


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