• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  Copyright 2012 Eric Niebler
4
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)
8  -->
9<header name="boost/proto/functional/fusion/pop_back.hpp">
10  <para>Includes Proto callable <computeroutput><classname>boost::proto::functional::pop_back</classname></computeroutput>.</para>
11
12  <namespace name="boost">
13    <namespace name="proto">
14      <namespace name="functional">
15
16        <!-- proto::functional::pop_back -->
17        <struct name="pop_back">
18          <purpose>A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
19            <computeroutput>fusion::pop_back()</computeroutput> algorithm on its argument.</purpose>
20          <description>
21            <para>
22              A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
23              <computeroutput>fusion::pop_back()</computeroutput> algorithm on its argument.
24            </para>
25          </description>
26          <inherit>
27            <type><classname>proto::callable</classname></type>
28          </inherit>
29          <struct-specialization name="result">
30            <template>
31              <template-type-parameter name="This"/>
32              <template-type-parameter name="Seq"/>
33            </template>
34            <specialization>
35              <template-arg>This(Seq)</template-arg>
36            </specialization>
37            <inherit>
38              <type>result&lt; This(Seq const &amp;) &gt;</type>
39            </inherit>
40          </struct-specialization>
41          <struct-specialization name="result">
42            <template>
43              <template-type-parameter name="This"/>
44              <template-type-parameter name="Seq"/>
45            </template>
46            <specialization>
47              <template-arg>This(Seq &amp;)</template-arg>
48            </specialization>
49            <inherit>
50              <type>fusion::result_of::pop_back&lt; Seq &gt;</type>
51            </inherit>
52          </struct-specialization>
53          <method-group name="public member functions">
54            <method name="operator()" cv="const">
55              <type>typename fusion::result_of::pop_back&lt; Seq &gt;::type</type>
56              <template>
57                <template-type-parameter name="Seq"/>
58              </template>
59              <parameter name="seq">
60                <paramtype>Seq &amp;</paramtype>
61              </parameter>
62              <returns>
63                <para><computeroutput>fusion::pop_back(seq)</computeroutput></para>
64              </returns>
65            </method>
66            <method name="operator()" cv="const">
67              <type>typename fusion::result_of::pop_back&lt; Seq const &gt;::type</type>
68              <template>
69                <template-type-parameter name="Seq"/>
70              </template>
71              <parameter name="seq">
72                <paramtype>Seq const &amp;</paramtype>
73              </parameter>
74              <returns>
75                <para><computeroutput>fusion::pop_back(seq)</computeroutput></para>
76              </returns>
77            </method>
78          </method-group>
79        </struct>
80
81      </namespace>
82    </namespace>
83  </namespace>
84</header>
85