1
2// Copyright 2005-2009 Daniel James.
3// Distributed under the Boost Software License, Version 1.0. (See accompanying
4// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
5
6// Based on Peter Dimov's proposal
7// http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1756.pdf
8// issue 6.18.
9
10#if !defined(BOOST_FUNCTIONAL_HASH_FWD_HPP)
11#define BOOST_FUNCTIONAL_HASH_FWD_HPP
12
13#include <boost/config/workaround.hpp>
14#include <cstddef>
15
16#if defined(BOOST_HAS_PRAGMA_ONCE)
17#pragma once
18#endif
19
20
21namespace boost
22{
23 template <class T> struct hash;
24
25 template <class T> void hash_combine(std::size_t& seed, T const& v);
26
27 template <class It> std::size_t hash_range(It, It);
28 template <class It> void hash_range(std::size_t&, It, It);
29
30#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
31 template <class T> inline std::size_t hash_range(T*, T*);
32 template <class T> inline void hash_range(std::size_t&, T*, T*);
33#endif
34}
35
36#endif
37

source code of include/boost/container_hash/hash_fwd.hpp