mirror of
https://github.com/boostorg/functional.git
synced 2025-08-02 14:04:27 +02:00
Fixed some of the include statements in the documentation.
[SVN r30464]
This commit is contained in:
@@ -83,7 +83,7 @@ __boost_hash, just use an extra template parameter:
|
|||||||
|
|
||||||
To use __boost_hash directly, create an instance and call it as a function:
|
To use __boost_hash directly, create an instance and call it as a function:
|
||||||
|
|
||||||
#include <boost/hash/hash.hpp>
|
#include <boost/functional/hash/hash.hpp>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
@@ -96,7 +96,7 @@ If you wish to make use of the extensions, you will need to include the
|
|||||||
appropriate header (see the
|
appropriate header (see the
|
||||||
[link hash.reference.specification reference documentation] for the full list).
|
[link hash.reference.specification reference documentation] for the full list).
|
||||||
|
|
||||||
#include <boost/hash/pair.hpp>
|
#include <boost/functional/hash/pair.hpp>
|
||||||
|
|
||||||
int main()
|
int main()
|
||||||
{
|
{
|
||||||
@@ -105,7 +105,7 @@ appropriate header (see the
|
|||||||
std::size_t h = pair_hash(std::make_pair(1, 2));
|
std::size_t h = pair_hash(std::make_pair(1, 2));
|
||||||
}
|
}
|
||||||
|
|
||||||
Or alternatively, include `<boost/hash.hpp>` for the full library.
|
Or alternatively, include `<boost/functional/hash.hpp>` for the full library.
|
||||||
|
|
||||||
For an example of generic use, here is a function to generate a vector
|
For an example of generic use, here is a function to generate a vector
|
||||||
containing the hashes of the elements of a container:
|
containing the hashes of the elements of a container:
|
||||||
|
Reference in New Issue
Block a user