Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

source: downloads/boost_1_33_1/libs/iterator/doc/LvalueIterator.html @ 13

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

added boost

File size: 2.1 KB
Line 
1<?xml version="1.0" encoding="utf-8" ?>
2<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4<head>
5<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6<meta name="generator" content="Docutils 0.3.6: http://docutils.sourceforge.net/" />
7<title>Lvalue Iterator Concept</title>
8<link rel="stylesheet" href="default.css" type="text/css" />
9</head>
10<body>
11<h1 class="title">Lvalue Iterator Concept</h1>
12<div class="document" id="lvalue-iterator-concept">
13<p>The <em>Lvalue Iterator</em> concept adds the requirement that the return
14type of <tt class="literal"><span class="pre">operator*</span></tt> type be a reference to the value type of the
15iterator.</p>
16<table border="1" class="table">
17<colgroup>
18<col width="22%" />
19<col width="19%" />
20<col width="59%" />
21</colgroup>
22<thead valign="bottom">
23<tr><th colspan="3">Lvalue Iterator Requirements</th>
24</tr>
25<tr><th>Expression</th>
26<th>Return Type</th>
27<th>Note/Assertion</th>
28</tr>
29</thead>
30<tbody valign="top">
31<tr><td><tt class="literal"><span class="pre">*a</span></tt></td>
32<td><tt class="literal"><span class="pre">T&amp;</span></tt></td>
33<td><tt class="literal"><span class="pre">T</span></tt> is <em>cv</em>
34<tt class="literal"><span class="pre">iterator_traits&lt;X&gt;::value_type</span></tt>
35where <em>cv</em> is an optional
36cv-qualification.
37pre: <tt class="literal"><span class="pre">a</span></tt> is
38dereferenceable. If <tt class="literal"><span class="pre">a</span>
39<span class="pre">==</span> <span class="pre">b</span></tt> then <tt class="literal"><span class="pre">*a</span></tt> is
40equivalent to <tt class="literal"><span class="pre">*b</span></tt>.</td>
41</tr>
42</tbody>
43</table>
44</div>
45<hr class="footer" />
46<div class="footer">
47<a class="reference" href="LvalueIterator.rst">View document source</a>.
48Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
49</div>
50</body>
51</html>
Note: See TracBrowser for help on using the repository browser.