]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/libs/range/include/boost/range/iterator_range_hash.hpp
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / range / include / boost / range / iterator_range_hash.hpp
CommitLineData
7c673cae
FG
1// Boost.Range library
2//
3// Copyright Neil Groves 2014
4// Use, modification and distribution is subject to the Boost Software
5// License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
6// http://www.boost.org/LICENSE_1_0.txt)
7//
8// For more information, see http://www.boost.org/libs/range/
9//
10#include <boost/range/iterator_range_core.hpp>
11#include <boost/functional/hash.hpp>
12
13namespace boost
14{
15
16template<class T>
17std::size_t hash_value(const iterator_range<T>& rng)
18{
19 return boost::hash_range(rng.begin(), rng.end());
20}
21
22} // namespace boost