mirror of
https://github.com/boostorg/multi_index.git
synced 2025-05-11 21:34:03 +00:00
removed the part on random access indices (already implemented); added navigational <link>s
[SVN r32651]
This commit is contained in:
parent
d18e3fd6a5
commit
027b5105ac
@ -5,6 +5,10 @@
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
||||
<title>Boost.MultiIndex Documentation - Future work</title>
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
<link rel="start" href="index.html">
|
||||
<link rel="prev" href="tests.html">
|
||||
<link rel="up" href="index.html">
|
||||
<link rel="next" href="release_notes.html">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
@ -34,7 +38,6 @@ principle driving the current internal design of <code>multi_index_container</co
|
||||
|
||||
<ul>
|
||||
<li><a href="#ranked_indices">Ranked indices</a></li>
|
||||
<li><a href="#random_access_indices">Random access indices</a></li>
|
||||
<li><a href="#notifying">Notifying indices</a></li>
|
||||
<li><a href="#constraints">Constraints</a></li>
|
||||
<li><a href="#user_defined_indices">User-defined indices</a></li>
|
||||
@ -56,24 +59,6 @@ has been proposed that order-statistics trees be used to devise a new type of
|
||||
the functionality of ordered indices.
|
||||
</p>
|
||||
|
||||
<h2><a name="random_access_indices">Random access indices</a></h2>
|
||||
|
||||
<p>
|
||||
These indices provide random access iterators and location of elements
|
||||
by their position ordinal. Although they seem at first glance to model
|
||||
the semantics of <code>std::vector</code>, random access indices present
|
||||
important differences:
|
||||
<ul>
|
||||
<li>Iterator and reference validity is preserved on insertion and deletion,</li>
|
||||
<li>memory contiguity is not provided,</li>
|
||||
<li>standard mutating algorithms (vg. <code>std::sort</code>) will in general
|
||||
not work with random access indices, as elements of a
|
||||
<code>multi_index_container</code> cannot be directly moved or swapped;</li>
|
||||
</ul>
|
||||
so it might be more accurate to regard this type of indices as a variation of
|
||||
sequenced indices with random access semantics.
|
||||
</p>
|
||||
|
||||
<h2><a name="notifying">Notifying indices</a></h2>
|
||||
|
||||
<p>
|
||||
@ -255,9 +240,9 @@ Release notes
|
||||
|
||||
<br>
|
||||
|
||||
<p>Revised July 5th 2005</p>
|
||||
<p>Revised February 6th 2006</p>
|
||||
|
||||
<p>© Copyright 2003-2005 Joaquín M López Muñoz.
|
||||
<p>© Copyright 2003-2006 Joaquín M López Muñoz.
|
||||
Distributed under the Boost Software
|
||||
License, Version 1.0. (See accompanying file <a href="../../../LICENSE_1_0.txt">
|
||||
LICENSE_1_0.txt</a> or copy at <a href="http://www.boost.org/LICENSE_1_0.txt">
|
||||
|
Loading…
x
Reference in New Issue
Block a user