Update unordered container links to the new draft standard.

[SVN r2948]
This commit is contained in:
Daniel James
2006-04-30 15:00:11 +00:00
parent b082192870
commit 13f2fbaf00
6 changed files with 29 additions and 25 deletions

View File

@ -73,9 +73,9 @@ initially set to 1.0.
`max_load_factor` tells the container to change the maximum load factor,
using your supplied hint as a suggestion.
TR1 doesn't actually require the container to pay much attention to this
value. The only time the load factor is required to be less than the maximum
is following a call to `rehash`.
The draft standard doesn't actually require the container to pay much attention
to this value. The only time the load factor is required to be less than the
maximum is following a call to `rehash`.
It is not specified anywhere how other member functions affect the bucket count.
But most implementations will invalidate the iterators whenever they change

View File

@ -1,5 +1,8 @@
[def __tr1__ [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1745.pdf
[def __tr1__ [@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf
C++ Standard Library Technical Report]]
[def __draft__
[@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf
Working Draft of the C++ Standard]]
[def __hash-table__ [@http://en.wikipedia.org/wiki/Hash_table
hash table]]
[def __hash-function__ [@http://en.wikipedia.org/wiki/Hash_function
@ -21,8 +24,9 @@ It might be slow to calculate, or even impossible. On the other hand, in a hash
table, then elements aren't ordered - but you need an equality function
and a hash function for the key.
So the __tr1__ provides the unordered associative containers, which are
implemented using hash tables. There are four containers to match the existing
So the __tr1__ introduced the unordered associative containers, which are
implemented using hash tables, and they have now been added to the __draft__.
There are four containers to match the existing
associate containers. In the header <[headerref boost/unordered_set.hpp]>:
template <

View File

@ -4,9 +4,9 @@
[section:rationale Implementation Rationale]
From the start the intent of this library was to implement the unordred
containers in TR1, so the interface was fixed. But there are still some
implementation desicions to make. The priorities for the library are
From the start the intent of this library was to implement the unordered
containers in the draft standard, so the interface was fixed. But there are
still some implementation desicions to make. The priorities for the library are
conformance to the standard and portability.
[h2 Number of Buckets]

View File

@ -27,8 +27,8 @@
<purpose>An unordered associative container that stores unique values.
</purpose>
<description>
<para>For the normative reference see section 6.3 of
<ulink url="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1836.pdf">TR1 [n1836].
<para>For the normative reference see chapter 23 of
<ulink url="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf">the working draft of the C++ standard [n2009].
</ulink>
</para>
<para>
@ -778,8 +778,8 @@
<purpose>An unordered associative container that stores values. The same key can be stored multiple times.
</purpose>
<description>
<para>For the normative reference see section 6.3 of
<ulink url="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1836.pdf">TR1 [n1836].
<para>For the normative reference see chapter 23 of
<ulink url="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf">the working draft of the C++ standard [n2009].
</ulink>
</para>
<para>
@ -1537,8 +1537,8 @@
<purpose>An unordered associative container that associates unique keys with another value.
</purpose>
<description>
<para>For the normative reference see section 6.3 of
<ulink url="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1836.pdf">TR1 [n1836].
<para>For the normative reference see chapter 23 of
<ulink url="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf">the working draft of the C++ standard [n2009].
</ulink>
</para>
<para>
@ -2327,8 +2327,8 @@
<purpose>An unordered associative container that associates keys with another value. The same key can be stored multiple times.
</purpose>
<description>
<para>For the normative reference see section 6.3 of
<ulink url="http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1836.pdf">TR1 [n1836].
<para>For the normative reference see chapter 23 of
<ulink url="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf">the working draft of the C++ standard [n2009].
</ulink>
</para>
<para>

View File

@ -24,8 +24,8 @@
namespace boost
{
//! An unordered associative container that associates unique keys with another value.
/*! For full details see section 6.3.4.4 of the Technical report.
* http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1836.pdf
/*! For full details see chapter 23 of the draft C++ standard.
* http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf
*/
template <class Key,
@ -374,8 +374,8 @@ namespace boost
}
//! An unordered associative container that associates equivalent keys with another value.
/*! For full details see section 6.3.4.6 of the Technical report.
* http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1836.pdf
/*! For full details see chapter 23 of the draft C++ standard.
* http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf
*/
template <class Key,

View File

@ -24,8 +24,8 @@
namespace boost
{
//! An unordered associative container that stores unique values.
/*! For full details see section 6.3.4.3 of the Technical report.
* http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1836.pdf
/*! For full details see chapter 23 of the draft C++ standard.
* http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf
*/
template <class Value,
@ -314,8 +314,8 @@ namespace boost
}
//! An unordered associative container that stores equivalent values.
/*! For full details see section 6.3.4.5 of the Technical report.
* http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1836.pdf
/*! For full details see chapter 23 of the draft C++ standard.
* http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2009.pdf
*/
template <class Value,