epoc32/include/stdapis/boost/functional/hash_fwd.hpp
branchSymbian2
changeset 2 2fe1408b6811
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/epoc32/include/stdapis/boost/functional/hash_fwd.hpp	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -0,0 +1,40 @@
     1.4 +
     1.5 +//  Copyright Daniel James 2005-2006. Use, modification, and distribution are
     1.6 +//  subject to the Boost Software License, Version 1.0. (See accompanying
     1.7 +//  file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
     1.8 +
     1.9 +//  Based on Peter Dimov's proposal
    1.10 +//  http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1756.pdf
    1.11 +//  issue 6.18. 
    1.12 +
    1.13 +#if !defined(BOOST_FUNCTIONAL_HASH_FWD_HPP)
    1.14 +#define BOOST_FUNCTIONAL_HASH_FWD_HPP
    1.15 +
    1.16 +#if defined(_MSC_VER) && (_MSC_VER >= 1020)
    1.17 +# pragma once
    1.18 +#endif
    1.19 +
    1.20 +#include <boost/config.hpp>
    1.21 +#include <cstddef>
    1.22 +#include <boost/detail/workaround.hpp>
    1.23 +
    1.24 +namespace boost
    1.25 +{
    1.26 +    template <class T> struct hash;
    1.27 +
    1.28 +#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
    1.29 +    template <class T> void hash_combine(std::size_t& seed, T& v);
    1.30 +#else
    1.31 +    template <class T> void hash_combine(std::size_t& seed, T const& v);
    1.32 +#endif
    1.33 +
    1.34 +    template <class It> std::size_t hash_range(It, It);
    1.35 +    template <class It> void hash_range(std::size_t&, It, It);
    1.36 +
    1.37 +#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
    1.38 +    template <class T> inline std::size_t hash_range(T*, T*);
    1.39 +    template <class T> inline void hash_range(std::size_t&, T*, T*);
    1.40 +#endif
    1.41 +}
    1.42 +
    1.43 +#endif