|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r53552 - trunk/libs/unordered/doc
From: daniel_james_at_[hidden]
Date: 2009-06-01 15:22:27
Author: danieljames
Date: 2009-06-01 15:22:27 EDT (Mon, 01 Jun 2009)
New Revision: 53552
URL: http://svn.boost.org/trac/boost/changeset/53552
Log:
Fix the unordered_map declaration in the tutorial. Fixes #3119.
Text files modified:
trunk/libs/unordered/doc/hash_equality.qbk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: trunk/libs/unordered/doc/hash_equality.qbk
==============================================================================
--- trunk/libs/unordered/doc/hash_equality.qbk (original)
+++ trunk/libs/unordered/doc/hash_equality.qbk 2009-06-01 15:22:27 EDT (Mon, 01 Jun 2009)
@@ -13,7 +13,7 @@
class Key, class Mapped,
class Hash = ``[classref boost::hash]``<Key>,
class Pred = std::equal_to<Key>,
- class Alloc = std::allocator<Key> >
+ class Alloc = std::allocator<std::pair<Key const, Mapped> > >
class ``[classref boost::unordered_map unordered_map]``;
The hash function comes first as you might want to change the hash function
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk