Replace inclusion of hash_fwd.hpp with a declaration of hash_range

This commit is contained in:
Peter Dimov
2015-01-09 00:01:41 +02:00
parent cd9888316a
commit cb4df41bd6

View File

@ -49,7 +49,6 @@
// Handles broken standard libraries better than <iterator> // Handles broken standard libraries better than <iterator>
#include <boost/detail/iterator.hpp> #include <boost/detail/iterator.hpp>
#include <boost/throw_exception.hpp> #include <boost/throw_exception.hpp>
#include <boost/functional/hash_fwd.hpp>
#include <algorithm> #include <algorithm>
// FIXES for broken compilers // FIXES for broken compilers
@ -412,6 +411,7 @@ namespace boost {
} }
#endif #endif
template <class It> std::size_t hash_range(It, It);
template<class T, std::size_t N> template<class T, std::size_t N>
std::size_t hash_value(const array<T,N>& arr) std::size_t hash_value(const array<T,N>& arr)