forked from boostorg/functional
https://svn.boost.org/svn/boost/branches/unordered/trunk ........ r43840 | danieljames | 2008-03-24 17:25:07 +0000 (Mon, 24 Mar 2008) | 1 line Fix a g++ warning. ........ r43844 | danieljames | 2008-03-24 17:56:28 +0000 (Mon, 24 Mar 2008) | 1 line It's a new-ish year. ........ r43885 | danieljames | 2008-03-27 20:36:10 +0000 (Thu, 27 Mar 2008) | 1 line The release script doesn't need to copy images and css - because that's now done in the jamfiles. Also tweak the shell script a tad bit. ........ r43890 | danieljames | 2008-03-27 23:01:40 +0000 (Thu, 27 Mar 2008) | 1 line Starting to add a docbook bibliography. ........ r43894 | danieljames | 2008-03-27 23:24:18 +0000 (Thu, 27 Mar 2008) | 1 line Redeclare 'data' in iterator_base to help compilers which have trouble with accessing the nested typedef. ........ [SVN r43895]
49 lines
1.7 KiB
Plaintext
49 lines
1.7 KiB
Plaintext
|
|
[/ Copyright 2005-2008 Daniel James.
|
|
/ Distributed under the Boost Software License, Version 1.0. (See accompanying
|
|
/ file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ]
|
|
|
|
[section:intro Introduction]
|
|
|
|
[def __tr1-full__
|
|
[@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1836.pdf
|
|
Draft Technical Report on C++ Library Extensions]]
|
|
[def __tr1__
|
|
[@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1836.pdf
|
|
TR1]]
|
|
[def __unordered__ [link unordered Boost.Unordered]]
|
|
[def __intrusive__ [link intrusive.unordered_set_unordered_multiset Boost.Intrusive]]
|
|
[def __multi-index__ [@../../libs/multi_index/doc/index.html
|
|
Boost Multi-Index Containers Library]]
|
|
[def __multi-index-short__ [@../../libs/multi_index/doc/index.html
|
|
Boost.MultiIndex]]
|
|
[def __bimap__ [@../../libs/bimap/index.html Boost.Bimap]]
|
|
[def __issues__
|
|
[@http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1837.pdf
|
|
Library Extension Technical Report Issues List]]
|
|
[def __hash-function__ [@http://en.wikipedia.org/wiki/Hash_function hash function]]
|
|
[def __hash-table__ [@http://en.wikipedia.org/wiki/Hash_table hash table]]
|
|
|
|
[classref boost::hash] is an implementation of the __hash-function__ object
|
|
specified by the __tr1-full__ (TR1). It is the default hash function for
|
|
__unordered__, __intrusive__'s unordered associative containers, and
|
|
__multi-index-short__'s hash indicies and __bimap__'s `unordered_set_of`.
|
|
|
|
As it is compliant with __tr1__, it will work with:
|
|
|
|
* integers
|
|
* floats
|
|
* pointers
|
|
* strings
|
|
|
|
It also implements the extension proposed by Peter Dimov in issue 6.18 of the
|
|
__issues__ (page 63), this adds support for:
|
|
|
|
* arrays
|
|
* `std::pair`
|
|
* the standard containers.
|
|
* extending [classref boost::hash] for custom types.
|
|
|
|
[endsect]
|
|
|