mirror of
https://github.com/boostorg/mpl.git
synced 2026-01-26 17:02:20 +01:00
35 lines
1.8 KiB
HTML
35 lines
1.8 KiB
HTML
|
|
<!doctype html public "-//ietf//dtd html//en">
|
||
|
|
<html><head><title>boost::mpl::Random Access Sequence</title>
|
||
|
|
<link rel="stylesheet" href="./mpl_wiki.css">
|
||
|
|
</head><body bgcolor="white">
|
||
|
|
<h1><a href="./Table_of_Content.html"><img src="./mpl_logo.jpg" alt="[Home]" border=0 align="right"></a>Random Access Sequence</h1><h3>Description</h3>
|
||
|
|
<p>
|
||
|
|
A Random Access Sequence is a <a href="./Bidirectional_Sequence.html">Bidirectional Sequence</a> which provides iterators that satisfy the <a href="./Random_Access_Iterator.html">Random Access Iterator</a> requirements. A random access sequence provides amortized constant time access to arbitrary elements.
|
||
|
|
<p>
|
||
|
|
<h3>Refinement of</h3>
|
||
|
|
<p>
|
||
|
|
<a href="./Bidirectional_Sequence.html">Bidirectional Sequence</a>
|
||
|
|
<p>
|
||
|
|
<h3>Valid expressions</h3>
|
||
|
|
<p>
|
||
|
|
Random Access Sequence does not define any new expressions beyond those defined in <a href="./Bidirectional_Sequence.html">Bidirectional Sequence</a>. However, it refines the expression requirements.
|
||
|
|
<p>
|
||
|
|
<table border="1">
|
||
|
|
<tr><th> Expression </th><th> Expression type </th></tr>
|
||
|
|
<tr><td><code>typename begin<s>::type</code></td><td>A model of <a href="./Random_Access_Iterator.html">Random Access Iterator</a> </td></tr>
|
||
|
|
<tr><td><code>typename end<s>::type</code></td><td>A model of <a href="./Random_Access_Iterator.html">Random Access Iterator</a> </td></tr>
|
||
|
|
</table>
|
||
|
|
<p>
|
||
|
|
<h3>Models</h3>
|
||
|
|
<p>
|
||
|
|
<ul>
|
||
|
|
<li><code><a href="./Reference/vector.html">vector</a></code>
|
||
|
|
<li><code><a href="./Reference/vector_c.html">vector_c</a></code>
|
||
|
|
<li><code><a href="./Reference/range_c.html">range_c</a></code>
|
||
|
|
</ul>
|
||
|
|
<p>
|
||
|
|
<h3>See also</h3>
|
||
|
|
<p>
|
||
|
|
<a href="./Bidirectional_Sequence.html">Bidirectional Sequence</a>, <a href="./Random_Access_Iterator.html">Random Access Iterator</a>
|
||
|
|
<p><hr>
|
||
|
|
<a href="./Table_of_Content.html">Table of Content</a><br>Last edited July 15, 2002 2:37 pm</body></html>
|