![]() |
Home | Libraries | People | FAQ | More |
boost::make_variant_over — Exposes a variant whose bounded types are the
elements of the given type sequence.
// In header: <boost/variant/variant.hpp> template<typename Sequence> class make_variant_over { public: // types typedef variant< unspecified > type; };
type has behavior equivalent in every respect to
variant< Sequence[0], Sequence[1], ... >
(where Sequence[i] denotes the
i-th element of Sequence), except
that no upper limit is imposed on the number of types.
Notes:
Sequence must meet the requirements of
MPL's Sequence
concept.