Imported Upstream version 1.63.0
[platform/upstream/boost.git] / libs / geometry / doc / doxy / doxygen_output / xml / 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.xml
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&lt; variant&lt; BOOST_VARIANT_ENUM_PARAMS(T)&gt;, Op, boost::mpl::na &gt;</compoundname>
5     <basecompoundref prot="public" virt="non-virtual">make_variant_over&lt; boost::mpl::transform&lt; variant&lt; BOOST_VARIANT_ENUM_PARAMS(T)&gt;::types, Op &gt;::type &gt;</basecompoundref>
6     <includes local="no">transform_variant.hpp</includes>
7     <templateparamlist>
8       <param>
9         <type>BOOST_VARIANT_ENUM_PARAMS(typename T)</type>
10       </param>
11       <param>
12         <type>typename Op</type>
13       </param>
14     </templateparamlist>
15     <briefdescription>
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>
17     <detaileddescription>
18 <para><simplesect kind="par"><title>Example</title><para><programlisting><codeline><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>variant&lt;int,<sp/>float,<sp/>long&gt;<sp/>variant_type;</highlight></codeline>
19 <codeline><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>transform_variant&lt;variant_type,<sp/>add_pointer&lt;_&gt;<sp/>&gt;<sp/>transformed;</highlight></codeline>
20 <codeline><highlight class="normal"></highlight><highlight class="keyword">typedef</highlight><highlight class="normal"><sp/>variant&lt;int*,<sp/>float*,<sp/>long*&gt;<sp/>result;</highlight></codeline>
21 <codeline><highlight class="normal">BOOST_MPL_ASSERT((<sp/>equal&lt;result,<sp/>transformed&gt;<sp/>));</highlight></codeline>
22 </programlisting> </para></simplesect>
23 </para>    </detaileddescription>
24     <inheritancegraph>
25       <node id="1779">
26         <label>boost::geometry::transform_variant&lt; variant&lt; BOOST_VARIANT_ENUM_PARAMS(T)&gt;, Op, boost::mpl::na &gt;</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">
29         </childnode>
30       </node>
31       <node id="1780">
32         <label>make_variant_over&lt; boost::mpl::transform&lt; variant&lt; BOOST_VARIANT_ENUM_PARAMS(T)&gt;::types, Op &gt;::type &gt;</label>
33       </node>
34     </inheritancegraph>
35     <collaborationgraph>
36       <node id="1781">
37         <label>boost::geometry::transform_variant&lt; variant&lt; BOOST_VARIANT_ENUM_PARAMS(T)&gt;, Op, boost::mpl::na &gt;</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">
40         </childnode>
41       </node>
42       <node id="1782">
43         <label>make_variant_over&lt; boost::mpl::transform&lt; variant&lt; BOOST_VARIANT_ENUM_PARAMS(T)&gt;::types, Op &gt;::type &gt;</label>
44       </node>
45     </collaborationgraph>
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"/>
47     <listofallmembers>
48     </listofallmembers>
49   </compounddef>
50 </doxygen>