boost::geometry::transform_variant< variant< BOOST_VARIANT_ENUM_PARAMS(T)>, Op, boost::mpl::na >
transform_variant.hpp
BOOST_VARIANT_ENUM_PARAMS(typename T)
typename Op

Meta-function that takes a boost::variant type and an MPL lambda expression and returns a variant type over the same types as the initial variant type, each transformed using the lambda expression.

# Example

    typedefvariant<int,float,long>variant_type;
    typedeftransform_variant<variant_type,add_pointer<_>>transformed;
    typedefvariant<int*,float*,long*>result;
    BOOST_MPL_ASSERT((equal<result,transformed>));