]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/proto/doc/reference/functional/range/empty.xml
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / proto / doc / reference / functional / range / empty.xml
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/range/empty.hpp">
10 <para>Includes Proto callable <code><classname>boost::proto::functional::empty</classname></code>.</para>
11
12 <namespace name="boost">
13 <namespace name="proto">
14 <namespace name="functional">
15
16 <!-- proto::functional::empty -->
17 <struct name="empty">
18 <purpose>A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
19 <code>boost::empty()</code> function on its arguments.</purpose>
20 <description>
21 <para>
22 A <conceptname>PolymorphicFunctionObject</conceptname> type that invokes the
23 <code>boost::empty()</code> function on its arguments.</para>
24 </description>
25 <inherit>
26 <type><classname>proto::callable</classname></type>
27 </inherit>
28 <typedef name="result_type">
29 <type>bool</type>
30 </typedef>
31 <method-group name="public member functions">
32 <method name="operator()" cv="const">
33 <type>bool</type>
34 <template>
35 <template-type-parameter name="Range"/>
36 </template>
37 <parameter name="rng">
38 <paramtype>Range const &amp;</paramtype>
39 </parameter>
40 <returns>
41 <para><code>boost::empty(rng)</code></para>
42 </returns>
43 </method>
44 </method-group>
45 </struct>
46
47 </namespace>
48 </namespace>
49 </namespace>
50 </header>