mirror of
https://github.com/boostorg/mpl.git
synced 2026-01-26 08:52:21 +01:00
47 lines
1.8 KiB
HTML
47 lines
1.8 KiB
HTML
<!doctype html public "-//ietf//dtd html//en">
|
|
<html><head><title>boost::mpl::Extensible Associative Sequence</title>
|
|
<link rel="stylesheet" href="./mpl_wiki.css">
|
|
</head><body bgcolor="white">
|
|
<h1><a href="./Table_of_Contents.html"><img src="./mpl_logo.jpg" alt="[Home]" border=0 align="right"></a>Extensible Associative Sequence</h1><h3>Description</h3>
|
|
<p>
|
|
An Extensible Associative Sequence is an <a href="./Associative_Sequence.html">Associative Sequence</a> that supports insertion and removal of elements. In contrast to <a href="./Extensible_Sequence.html">Extensible Sequence</a>, Extensible Associative Sequence does not provide a mechanism for inserting an element <em>at a specific position</em>.
|
|
<p>
|
|
Refinement of
|
|
<p>
|
|
<a href="./Associative_Sequence.html">Associative Sequence</a>
|
|
<p>
|
|
<h3>Valid expressions</h3>
|
|
<p>
|
|
<table border="1">
|
|
<tr><th> Expression </th><th> Expression type </th></tr>
|
|
<tr><td><code>typename clear<s>::type</code></td><td>A model of concept of <code>s</code> </td></tr>
|
|
<tr><td><code>typename insert<s,t>::type</code></td><td>A model of concept of <code>s</code> </td></tr>
|
|
<tr><td><code>typename remove<s,k>::type</code></td><td>A model of concept of <code>s</code> </td></tr>
|
|
</table>
|
|
<p>
|
|
<h3>Expression semantics</h3>
|
|
<p>
|
|
TODO.
|
|
<p>
|
|
<h3>Invariants</h3>
|
|
<p>
|
|
For any associative sequence <code>s</code> the following invariants always hold:
|
|
<ul>
|
|
<li>TODO
|
|
</ul>
|
|
<p>
|
|
<h3>Models</h3>
|
|
<p>
|
|
<ul>
|
|
<li><code>set</code>
|
|
<li><code>map</code>
|
|
<li><code>set_c</code>
|
|
</ul>
|
|
<p>
|
|
<h3>Notes</h3>
|
|
<p>
|
|
<h3>See also</h3>
|
|
<p>
|
|
<a href="./Sequences.html">Sequences</a>, <a href="./Forward_Sequence.html">Forward Sequence</a>, <a href="./Associative_Sequence.html">Associative Sequence</a>
|
|
<p><hr>
|
|
<a href="./Table_of_Contents.html">Table of Contents</a><br>Last edited May 2, 2003 8:24 am</body></html> |