Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r51645 - in trunk/boost/functional: . hash
From: daniel_james_at_[hidden]
Date: 2009-03-08 05:45:11


Author: danieljames
Date: 2009-03-08 05:45:11 EDT (Sun, 08 Mar 2009)
New Revision: 51645
URL: http://svn.boost.org/trac/boost/changeset/51645

Log:
Move hash_fwd into the hash subdirectory.

I should have done this in the last release. But now all of the hash
implementation is in the hash subdirectory.
Added:
   trunk/boost/functional/hash/hash_fwd.hpp
      - copied, changed from r51644, /trunk/boost/functional/hash_fwd.hpp
Text files modified:
   trunk/boost/functional/hash/hash.hpp | 2 +-
   trunk/boost/functional/hash_fwd.hpp | 31 +------------------------------
   2 files changed, 2 insertions(+), 31 deletions(-)

Modified: trunk/boost/functional/hash/hash.hpp
==============================================================================
--- trunk/boost/functional/hash/hash.hpp (original)
+++ trunk/boost/functional/hash/hash.hpp 2009-03-08 05:45:11 EDT (Sun, 08 Mar 2009)
@@ -10,7 +10,7 @@
 #if !defined(BOOST_FUNCTIONAL_HASH_HASH_HPP)
 #define BOOST_FUNCTIONAL_HASH_HASH_HPP
 
-#include <boost/functional/hash_fwd.hpp>
+#include <boost/functional/hash/hash_fwd.hpp>
 #include <functional>
 #include <boost/functional/hash/detail/hash_float.hpp>
 #include <boost/detail/container_fwd.hpp>

Copied: trunk/boost/functional/hash/hash_fwd.hpp (from r51644, /trunk/boost/functional/hash_fwd.hpp)
==============================================================================

Modified: trunk/boost/functional/hash_fwd.hpp
==============================================================================
--- trunk/boost/functional/hash_fwd.hpp (original)
+++ trunk/boost/functional/hash_fwd.hpp 2009-03-08 05:45:11 EDT (Sun, 08 Mar 2009)
@@ -7,34 +7,5 @@
 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2005/n1756.pdf
 // issue 6.18.
 
-#if !defined(BOOST_FUNCTIONAL_HASH_FWD_HPP)
-#define BOOST_FUNCTIONAL_HASH_FWD_HPP
+#include <boost/functional/hash/hash_fwd.hpp>
 
-#if defined(_MSC_VER) && (_MSC_VER >= 1020)
-# pragma once
-#endif
-
-#include <boost/config.hpp>
-#include <cstddef>
-#include <boost/detail/workaround.hpp>
-
-namespace boost
-{
- template <class T> struct hash;
-
-#if BOOST_WORKAROUND(BOOST_MSVC, < 1300)
- template <class T> void hash_combine(std::size_t& seed, T& v);
-#else
- template <class T> void hash_combine(std::size_t& seed, T const& v);
-#endif
-
- template <class It> std::size_t hash_range(It, It);
- template <class It> void hash_range(std::size_t&, It, It);
-
-#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x551))
- template <class T> inline std::size_t hash_range(T*, T*);
- template <class T> inline void hash_range(std::size_t&, T*, T*);
-#endif
-}
-
-#endif


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