unordered_map.h: Fix typo in comments.
authorJonathan Wakely <jwakely.gcc@gmail.com>
Sun, 6 Jan 2013 21:58:18 +0000 (21:58 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Sun, 6 Jan 2013 21:58:18 +0000 (21:58 +0000)
* include/bits/unordered_map.h: Fix typo in comments.
* doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
counts for unordered associative containers.

From-SVN: r194954

libstdc++-v3/ChangeLog
libstdc++-v3/doc/xml/manual/status_cxx2011.xml
libstdc++-v3/include/bits/unordered_map.h

index d37ba268ff13d664d1af204fa9a2aabc8b2e58f7..ab150bec33182f9860b4bde68210ceee5420db4c 100644 (file)
@@ -1,3 +1,9 @@
+2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * include/bits/unordered_map.h: Fix typo in comments.
+       * doc/xml/manual/status_cxx2011.xml: Add implementation-defined bucket
+       counts for unordered associative containers.
+
 2013-01-06  Jonathan Wakely  <jwakely.gcc@gmail.com>
 
        * doc/xml/manual/abi.xml: Update library and symbol versions.
index 0164b0b756dce4e2b4efddf573bfdbcfe37f07e3..c0780de74e50c3996e2a7e60ab341928f998f409 100644 (file)
@@ -2634,6 +2634,15 @@ particular release.
       <literal>CopyAssignable</literal>.
    </para>
 
+   <para>
+      <emphasis>23.5.4.2 [unord.map.cnstr]</emphasis>,
+      <emphasis>23.5.5.2 [unord.multimap.cnstr]</emphasis>,
+      <emphasis>23.5.6.2 [unord.set.cnstr]</emphasis>,
+      <emphasis>23.5.7.2 [unord.multiset.cnstr]</emphasis>
+      The default bucket count is 10 for the default constructors
+      and 0 for the range constructors and initializer-list constructors.
+   </para>
+
    <para>
       <emphasis>30.2.3 [thread.req.native]/1</emphasis>
       <classname>native_handle_type</classname> and
index e2b83db37002d6bc6047d3a636519e656a2864f1..9fa0553f2119a5d49f45209a5411e38fc30d7969 100644 (file)
@@ -1,6 +1,6 @@
 // unordered_map implementation -*- C++ -*-
 
-// Copyright (C) 2010, 2011, 2012 Free Software Foundation, Inc.
+// Copyright (C) 2010-2013 Free Software Foundation, Inc.
 //
 // This file is part of the GNU ISO C++ Library.  This library is free
 // software; you can redistribute it and/or modify it under the
@@ -167,7 +167,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
       /// Copy constructor.
       unordered_map(const unordered_map&) = default;
 
-      /// Move constrcutor.
+      /// Move constructor.
       unordered_map(unordered_map&&) = default;
 
       /**
@@ -848,7 +848,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER
       /// Copy constructor.
       unordered_multimap(const unordered_multimap&) = default;
 
-      /// Move constrcutor.
+      /// Move constructor.
       unordered_multimap(unordered_multimap&&) = default;
 
       /**