boost::geometry::transform_variant
transform_variant.hpp
typename Sequence
typename Op
typename In boost::mpl::na

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

# Example

    typedefboost::mpl::vector<int,float,long>types;
    typedeftransform_variant<types,add_pointer<_>>transformed;
    typedefvariant<int*,float*,long*>result;
    BOOST_MPL_ASSERT((equal<result,transformed>));