diff --git a/doc/ref.php b/doc/ref.php
index e336a55c..2971b5df 100644
--- a/doc/ref.php
+++ b/doc/ref.php
@@ -67,14 +67,20 @@ EOL;
Key
- Key must be Assignable and CopyConstructible.
+ Key
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Mapped
- Mapped must be CopyConstructible
+ Mapped
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Value
- Value must be Assignable and CopyConstructible
+ Value
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Hash
@@ -206,6 +212,11 @@ EOL;
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -237,6 +248,11 @@ EOL;
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0 and inserts the elements from [f, l) into it.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -408,6 +424,11 @@ EOL;
' if and only if there is no element in the container with an equivalent '.$key_name. '.';
?>
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
An iterator pointing to the inserted element.
@@ -453,6 +474,11 @@ EOL;
?>
hint
is a suggestion to where the element should be inserted.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
An iterator pointing to the inserted element.
@@ -490,6 +516,9 @@ EOL;
' if and only if there is no element in the container with an equivalent '.$key_name. '.';
?>
+
+ value_type
is CopyInsertable
.
+
An iterator pointing to the inserted element.
@@ -517,6 +546,9 @@ EOL;
' if and only if there is no element in the container with an equivalent '.$key_name. '.';
?>
+
+ value_type
is MoveInsertable
.
+
An iterator pointing to the inserted element.
@@ -549,6 +581,9 @@ EOL;
hint is a suggestion to where the element should be inserted.
+
+ value_type
is CopyInsertable
.
+
An iterator pointing to the inserted element.
@@ -581,6 +616,9 @@ EOL;
hint is a suggestion to where the element should be inserted.
+
+ value_type
is MoveInsertable
.
+
An iterator pointing to the inserted element.
@@ -612,6 +650,10 @@ EOL;
Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent .
+
+ value_type
is EmplaceConstructible
into
+ X
from *first
.
+
When inserting a single element, if an exception is thrown by an operation other than a call to hasher
the function has no effect.
diff --git a/doc/ref.xml b/doc/ref.xml
index cfd15584..9cbe0316 100644
--- a/doc/ref.xml
+++ b/doc/ref.xml
@@ -29,7 +29,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Value
- Value must be Assignable and CopyConstructible
+ Value
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Hash
A unary function object type that acts a hash function for a Value
. It takes a single argument of type Value
and returns a value of type std::size_t.
@@ -151,6 +153,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -182,6 +189,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0 and inserts the elements from [f, l) into it.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -350,6 +362,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts an object, constructed with the arguments args
, in the container if and only if there is no element in the container with an equivalent value.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
The bool component of the return type is true if an insert took place.
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent value.
@@ -388,6 +405,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts an object, constructed with the arguments args
, in the container if and only if there is no element in the container with an equivalent value.
hint
is a suggestion to where the element should be inserted.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent value.
@@ -418,6 +440,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container if and only if there is no element in the container with an equivalent value.
+
+ value_type
is CopyInsertable
.
+
The bool component of the return type is true if an insert took place.
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent value.
@@ -438,6 +463,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container if and only if there is no element in the container with an equivalent value.
+
+ value_type
is MoveInsertable
.
+
The bool component of the return type is true if an insert took place.
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent value.
@@ -462,6 +490,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container if and only if there is no element in the container with an equivalent value.
hint is a suggestion to where the element should be inserted.
+
+ value_type
is CopyInsertable
.
+
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent value.
@@ -486,6 +517,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container if and only if there is no element in the container with an equivalent value.
hint is a suggestion to where the element should be inserted.
+
+ value_type
is MoveInsertable
.
+
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent value.
@@ -513,6 +547,10 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent value.
+
+ value_type
is EmplaceConstructible
into
+ X
from *first
.
+
When inserting a single element, if an exception is thrown by an operation other than a call to hasher
the function has no effect.
@@ -1038,7 +1076,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Value
- Value must be Assignable and CopyConstructible
+ Value
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Hash
A unary function object type that acts a hash function for a Value
. It takes a single argument of type Value
and returns a value of type std::size_t.
@@ -1160,6 +1200,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -1191,6 +1236,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0 and inserts the elements from [f, l) into it.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -1359,6 +1409,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts an object, constructed with the arguments args
, in the container.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
An iterator pointing to the inserted element.
@@ -1396,6 +1451,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts an object, constructed with the arguments args
, in the container.
hint
is a suggestion to where the element should be inserted.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
An iterator pointing to the inserted element.
@@ -1426,6 +1486,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container.
+
+ value_type
is CopyInsertable
.
+
An iterator pointing to the inserted element.
@@ -1445,6 +1508,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container.
+
+ value_type
is MoveInsertable
.
+
An iterator pointing to the inserted element.
@@ -1468,6 +1534,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container.
hint is a suggestion to where the element should be inserted.
+
+ value_type
is CopyInsertable
.
+
An iterator pointing to the inserted element.
@@ -1492,6 +1561,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container.
hint is a suggestion to where the element should be inserted.
+
+ value_type
is MoveInsertable
.
+
An iterator pointing to the inserted element.
@@ -1519,6 +1591,10 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent value.
+
+ value_type
is EmplaceConstructible
into
+ X
from *first
.
+
When inserting a single element, if an exception is thrown by an operation other than a call to hasher
the function has no effect.
@@ -2050,10 +2126,14 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Key
- Key must be Assignable and CopyConstructible.
+ Key
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Mapped
- Mapped must be CopyConstructible
+ Mapped
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Hash
A unary function object type that acts a hash function for a Key
. It takes a single argument of type Key
and returns a value of type std::size_t.
@@ -2178,6 +2258,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -2209,6 +2294,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0 and inserts the elements from [f, l) into it.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -2377,6 +2467,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts an object, constructed with the arguments args
, in the container if and only if there is no element in the container with an equivalent key.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
The bool component of the return type is true if an insert took place.
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent key.
@@ -2415,6 +2510,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts an object, constructed with the arguments args
, in the container if and only if there is no element in the container with an equivalent key.
hint
is a suggestion to where the element should be inserted.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent key.
@@ -2445,6 +2545,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container if and only if there is no element in the container with an equivalent key.
+
+ value_type
is CopyInsertable
.
+
The bool component of the return type is true if an insert took place.
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent key.
@@ -2465,6 +2568,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container if and only if there is no element in the container with an equivalent key.
+
+ value_type
is MoveInsertable
.
+
The bool component of the return type is true if an insert took place.
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent key.
@@ -2489,6 +2595,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container if and only if there is no element in the container with an equivalent key.
hint is a suggestion to where the element should be inserted.
+
+ value_type
is CopyInsertable
.
+
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent key.
@@ -2513,6 +2622,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container if and only if there is no element in the container with an equivalent key.
hint is a suggestion to where the element should be inserted.
+
+ value_type
is MoveInsertable
.
+
If an insert took place, then the iterator points to the newly inserted element. Otherwise, it points to the element with equivalent key.
@@ -2540,6 +2652,10 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent key.
+
+ value_type
is EmplaceConstructible
into
+ X
from *first
.
+
When inserting a single element, if an exception is thrown by an operation other than a call to hasher
the function has no effect.
@@ -3104,10 +3220,14 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Key
- Key must be Assignable and CopyConstructible.
+ Key
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Mapped
- Mapped must be CopyConstructible
+ Mapped
must be Erasable
from the container
+ (i.e. allocator_traits
can destroy
it).
+
Hash
A unary function object type that acts a hash function for a Key
. It takes a single argument of type Key
and returns a value of type std::size_t.
@@ -3232,6 +3352,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -3263,6 +3388,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Constructs an empty container with at least n buckets, using hf as the hash function, eq as the key equality predicate, a as the allocator and a maximum load factor of 1.0 and inserts the elements from [f, l) into it.
+
+ If the defaults are used, hasher
, key_equal
and
+ allocator_type
need to be DefaultConstructible
.
+
+
@@ -3431,6 +3561,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts an object, constructed with the arguments args
, in the container.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
An iterator pointing to the inserted element.
@@ -3468,6 +3603,11 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts an object, constructed with the arguments args
, in the container.
hint
is a suggestion to where the element should be inserted.
+
+ value_type
is EmplaceConstructible
into
+ X
from args
.
+
+
An iterator pointing to the inserted element.
@@ -3498,6 +3638,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container.
+
+ value_type
is CopyInsertable
.
+
An iterator pointing to the inserted element.
@@ -3517,6 +3660,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container.
+
+ value_type
is MoveInsertable
.
+
An iterator pointing to the inserted element.
@@ -3540,6 +3686,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container.
hint is a suggestion to where the element should be inserted.
+
+ value_type
is CopyInsertable
.
+
An iterator pointing to the inserted element.
@@ -3564,6 +3713,9 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts obj
in the container.
hint is a suggestion to where the element should be inserted.
+
+ value_type
is MoveInsertable
.
+
An iterator pointing to the inserted element.
@@ -3591,6 +3743,10 @@ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
Inserts a range of elements into the container. Elements are inserted if and only if there is no element in the container with an equivalent key.
+
+ value_type
is EmplaceConstructible
into
+ X
from *first
.
+
When inserting a single element, if an exception is thrown by an operation other than a call to hasher
the function has no effect.