annotate DEPENDENCIES/generic/include/boost/range/iterator_range_hash.hpp @ 125:34e428693f5d vext

Vext -> Repoint
author Chris Cannam
date Thu, 14 Jun 2018 11:15:39 +0100
parents f46d142149f5
children
rev   line source
Chris@102 1 // Boost.Range library
Chris@102 2 //
Chris@102 3 // Copyright Neil Groves 2014
Chris@102 4 // Use, modification and distribution is subject to the Boost Software
Chris@102 5 // License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
Chris@102 6 // http://www.boost.org/LICENSE_1_0.txt)
Chris@102 7 //
Chris@102 8 // For more information, see http://www.boost.org/libs/range/
Chris@102 9 //
Chris@102 10 #include <boost/range/iterator_range_core.hpp>
Chris@102 11 #include <boost/functional/hash.hpp>
Chris@102 12
Chris@102 13 namespace boost
Chris@102 14 {
Chris@102 15
Chris@102 16 template<class T>
Chris@102 17 std::size_t hash_value(const iterator_range<T>& rng)
Chris@102 18 {
Chris@102 19 return boost::hash_range(rng.begin(), rng.end());
Chris@102 20 }
Chris@102 21
Chris@102 22 } // namespace boost