Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/signals/doc/reference/last_value.xml @ 12

Last change on this file since 12 was 12, checked in by landauf, 18 years ago

added boost

File size: 2.4 KB
Line 
1<?xml version="1.0" encoding="utf-8"?>
2<!DOCTYPE header PUBLIC "-//Boost//DTD BoostBook XML V1.0//EN"
3  "http://www.boost.org/tools/boostbook/dtd/boostbook.dtd">
4<header name="boost/last_value.hpp" last-revision="$Date: 2004/09/13 15:41:01 $">
5  <namespace name="boost">
6    <class name="last_value">
7      <template>
8        <template-type-parameter name="T"/>
9      </template>
10
11      <purpose>Evaluate an <conceptname>InputIterator</conceptname> sequence and return the
12      last value in the sequence.</purpose>
13
14      <typedef name="result_type"><type>T</type></typedef>
15
16      <method-group name="invocation">
17        <method name="operator()" cv="const">
18          <template> 
19            <template-type-parameter name="InputIterator"/>
20          </template>
21          <type>result_type</type>
22          <parameter name="first">
23            <paramtype>InputIterator</paramtype>
24          </parameter>
25          <parameter name="last">
26            <paramtype>InputIterator</paramtype>
27          </parameter>
28
29          <requires><para><computeroutput>first != last</computeroutput></para></requires>
30          <effects><para>Dereferences every iterator in the sequence <computeroutput>[first, last)</computeroutput>.</para></effects>
31
32          <returns><para>The result of dereferencing the iterator <computeroutput>last-1</computeroutput>.</para></returns>
33        </method>
34      </method-group>
35    </class>
36
37    <class-specialization name="last_value">
38      <template/>
39      <specialization>
40        <template-arg>void</template-arg>
41      </specialization>
42
43      <purpose>Evaluate an InputIterator sequence.</purpose>
44
45      <typedef name="result_type">
46        <type><emphasis>unspecified</emphasis></type>
47      </typedef>
48
49      <method-group name="invocation">
50        <method name="operator()" cv="const">
51          <template> 
52            <template-type-parameter name="InputIterator"/>
53          </template>
54          <type>result_type</type>
55          <parameter name="first">
56            <paramtype>InputIterator</paramtype>
57          </parameter>
58          <parameter name="last">
59            <paramtype>InputIterator</paramtype>
60          </parameter>
61
62          <effects><para>Dereferences every iterator in the sequence <computeroutput>[first, last)</computeroutput>.</para></effects>
63        </method>
64      </method-group>
65    </class-specialization>
66  </namespace>
67</header>
Note: See TracBrowser for help on using the repository browser.