From 035396e89f0acea5cf2563a203936a5d3a030918 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 28 Aug 2012 21:56:18 +0000 Subject: [PATCH] Unordered: Merge reference documentation update. [SVN r80294] --- doc/ref.php | 107 +++++++++++++++- doc/ref.xml | 342 +++++++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 440 insertions(+), 9 deletions(-) diff --git a/doc/ref.php b/doc/ref.php index e014555c..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. + +