1 <?xml version=
"1.0" encoding=
"utf-8"?>
3 Copyright 2012 Eric Niebler
5 Distributed under the Boost
6 Software License, Version 1.0. (See accompanying
7 file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 <header name=
"boost/proto/functional/fusion/push_front.hpp">
10 <para>Includes Proto callable
<computeroutput><classname>boost::proto::functional::push_front
</classname></computeroutput>.
</para>
12 <namespace name=
"boost">
13 <namespace name=
"proto">
14 <namespace name=
"functional">
16 <!-- proto::functional::push_front -->
17 <struct name=
"push_front">
18 <purpose>A
<conceptname>PolymorphicFunctionObject
</conceptname> type that invokes the
19 <computeroutput>fusion::push_front()
</computeroutput> algorithm on its arguments.
</purpose>
22 A
<conceptname>PolymorphicFunctionObject
</conceptname> type that invokes the
23 <computeroutput>fusion::push_front()
</computeroutput> algorithm on its arguments.
</para>
26 <type><classname>proto::callable
</classname></type>
28 <struct-specialization name=
"result">
30 <template-type-parameter name=
"This"/>
31 <template-type-parameter name=
"Seq"/>
32 <template-type-parameter name=
"T"/>
35 <template-arg>This(Seq, T)
</template-arg>
38 <type>fusion::result_of::push_front
<
39 typename boost::add_const
<typename boost::remove_reference
<Seq
>::type
>::type
40 , typename boost::remove_const
<typename boost::remove_reference
<T
>::type
>::type
43 </struct-specialization>
44 <method-group name=
"public member functions">
45 <method name=
"operator()" cv=
"const">
46 <type>typename fusion::result_of::push_front
< Seq const, T
>::type
</type>
48 <template-type-parameter name=
"Seq"/>
49 <template-type-parameter name=
"T"/>
51 <parameter name=
"seq">
52 <paramtype>Seq const
&</paramtype>
55 <paramtype>T const
&</paramtype>
58 <para><computeroutput>fusion::push_front(seq, t)
</computeroutput></para>