1 <?xml version='1.0' encoding='UTF-8' standalone='no'?>
2 <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.8.6">
3 <compounddef id="structboost_1_1geometry_1_1transform__variant_3_01variant_3_01_b_o_o_s_t___v_a_r_i_a_n_t___e_n_uf4ac33b8d803230c1237c41fa1e5e7a2" kind="struct" prot="public">
4 <compoundname>boost::geometry::transform_variant< variant< BOOST_VARIANT_ENUM_PARAMS(T)>, Op, boost::mpl::na ></compoundname>
5 <basecompoundref prot="public" virt="non-virtual">make_variant_over< boost::mpl::transform< variant< BOOST_VARIANT_ENUM_PARAMS(T)>::types, Op >::type ></basecompoundref>
6 <includes local="no">transform_variant.hpp</includes>
9 <type>BOOST_VARIANT_ENUM_PARAMS(typename T)</type>
12 <type>typename Op</type>
16 <para>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. </para> </briefdescription>
18 <para><simplesect kind="par"><title>Example</title><para><programlisting><codeline><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>variant<int,<sp/>float,<sp/>long><sp/>variant_type;</highlight></codeline>
19 <codeline><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>transform_variant<variant_type,<sp/>add_pointer<_><sp/>><sp/>transformed;</highlight></codeline>
20 <codeline><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>variant<int*,<sp/>float*,<sp/>long*><sp/>result;</highlight></codeline>
21 <codeline><highlight class="normal">BOOST_MPL_ASSERT((<sp/>equal<result,<sp/>transformed><sp/>));</highlight></codeline>
22 </programlisting> </para></simplesect>
23 </para> </detaileddescription>
26 <label>boost::geometry::transform_variant< variant< BOOST_VARIANT_ENUM_PARAMS(T)>, Op, boost::mpl::na ></label>
27 <link refid="structboost_1_1geometry_1_1transform__variant_3_01variant_3_01_b_o_o_s_t___v_a_r_i_a_n_t___e_n_uf4ac33b8d803230c1237c41fa1e5e7a2"/>
28 <childnode refid="1780" relation="public-inheritance">
32 <label>make_variant_over< boost::mpl::transform< variant< BOOST_VARIANT_ENUM_PARAMS(T)>::types, Op >::type ></label>
37 <label>boost::geometry::transform_variant< variant< BOOST_VARIANT_ENUM_PARAMS(T)>, Op, boost::mpl::na ></label>
38 <link refid="structboost_1_1geometry_1_1transform__variant_3_01variant_3_01_b_o_o_s_t___v_a_r_i_a_n_t___e_n_uf4ac33b8d803230c1237c41fa1e5e7a2"/>
39 <childnode refid="1782" relation="public-inheritance">
43 <label>make_variant_over< boost::mpl::transform< variant< BOOST_VARIANT_ENUM_PARAMS(T)>::types, Op >::type ></label>
46 <location file="/home/ubuntu/boost/boost/geometry/util/transform_variant.hpp" line="78" column="1" bodyfile="/home/ubuntu/boost/boost/geometry/util/transform_variant.hpp" bodystart="71" bodyend="78"/>