forked from boostorg/iterator
		
	
		
			
	
	
		
			52 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
		
		
			
		
	
	
			52 lines
		
	
	
		
			2.1 KiB
		
	
	
	
		
			HTML
		
	
	
	
	
	
| 
								 | 
							
								<?xml version="1.0" encoding="utf-8" ?>
							 | 
						||
| 
								 | 
							
								<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
							 | 
						||
| 
								 | 
							
								<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
							 | 
						||
| 
								 | 
							
								<head>
							 | 
						||
| 
								 | 
							
								<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
							 | 
						||
| 
								 | 
							
								<meta name="generator" content="Docutils 0.3.1: http://docutils.sourceforge.net/" />
							 | 
						||
| 
								 | 
							
								<title>Lvalue Iterator Concept</title>
							 | 
						||
| 
								 | 
							
								<link rel="stylesheet" href="default.css" type="text/css" />
							 | 
						||
| 
								 | 
							
								</head>
							 | 
						||
| 
								 | 
							
								<body>
							 | 
						||
| 
								 | 
							
								<div class="document" id="lvalue-iterator-concept">
							 | 
						||
| 
								 | 
							
								<h1 class="title">Lvalue Iterator Concept</h1>
							 | 
						||
| 
								 | 
							
								<p>The <em>Lvalue Iterator</em> concept adds the requirement that the return
							 | 
						||
| 
								 | 
							
								type of <tt class="literal"><span class="pre">operator*</span></tt> type be a reference to the value type of the
							 | 
						||
| 
								 | 
							
								iterator.</p>
							 | 
						||
| 
								 | 
							
								<table border class="table">
							 | 
						||
| 
								 | 
							
								<colgroup>
							 | 
						||
| 
								 | 
							
								<col width="22%" />
							 | 
						||
| 
								 | 
							
								<col width="19%" />
							 | 
						||
| 
								 | 
							
								<col width="59%" />
							 | 
						||
| 
								 | 
							
								</colgroup>
							 | 
						||
| 
								 | 
							
								<thead valign="bottom">
							 | 
						||
| 
								 | 
							
								<tr><th colspan="3">Lvalue Iterator Requirements</th>
							 | 
						||
| 
								 | 
							
								</tr>
							 | 
						||
| 
								 | 
							
								<tr><th>Expression</th>
							 | 
						||
| 
								 | 
							
								<th>Return Type</th>
							 | 
						||
| 
								 | 
							
								<th>Note/Assertion</th>
							 | 
						||
| 
								 | 
							
								</tr>
							 | 
						||
| 
								 | 
							
								</thead>
							 | 
						||
| 
								 | 
							
								<tbody valign="top">
							 | 
						||
| 
								 | 
							
								<tr><td><tt class="literal"><span class="pre">*a</span></tt></td>
							 | 
						||
| 
								 | 
							
								<td><tt class="literal"><span class="pre">T&</span></tt></td>
							 | 
						||
| 
								 | 
							
								<td><tt class="literal"><span class="pre">T</span></tt> is <em>cv</em>
							 | 
						||
| 
								 | 
							
								<tt class="literal"><span class="pre">iterator_traits<X>::value_type</span></tt>
							 | 
						||
| 
								 | 
							
								where <em>cv</em> is an optional
							 | 
						||
| 
								 | 
							
								cv-qualification.
							 | 
						||
| 
								 | 
							
								pre: <tt class="literal"><span class="pre">a</span></tt> is
							 | 
						||
| 
								 | 
							
								dereferenceable. If <tt class="literal"><span class="pre">a</span>
							 | 
						||
| 
								 | 
							
								<span class="pre">==</span> <span class="pre">b</span></tt> then <tt class="literal"><span class="pre">*a</span></tt> is
							 | 
						||
| 
								 | 
							
								equivalent to <tt class="literal"><span class="pre">*b</span></tt>.</td>
							 | 
						||
| 
								 | 
							
								</tr>
							 | 
						||
| 
								 | 
							
								</tbody>
							 | 
						||
| 
								 | 
							
								</table>
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								<hr class="footer" />
							 | 
						||
| 
								 | 
							
								<div class="footer">
							 | 
						||
| 
								 | 
							
								<a class="reference" href="LvalueIterator.rst">View document source</a>.
							 | 
						||
| 
								 | 
							
								Generated 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.
							 | 
						||
| 
								 | 
							
								</div>
							 | 
						||
| 
								 | 
							
								</body>
							 | 
						||
| 
								 | 
							
								</html>
							 |