File indexing completed on 2025-01-18 09:53:32
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef BOOST_UUID_HASH_HPP
0012 #define BOOST_UUID_HASH_HPP
0013
0014 #include <boost/config.hpp>
0015 #include <boost/container_hash/hash.hpp>
0016 #include <boost/uuid/uuid.hpp>
0017
0018 #ifdef BOOST_HAS_PRAGMA_ONCE
0019 #pragma once
0020 #endif
0021
0022 #ifndef BOOST_NO_CXX11_HDR_FUNCTIONAL
0023
0024 #include <cstddef>
0025 #include <functional>
0026
0027 namespace std
0028 {
0029 template<>
0030 struct hash<boost::uuids::uuid>
0031 {
0032 std::size_t operator () (const boost::uuids::uuid& value) const BOOST_NOEXCEPT
0033 {
0034 return boost::uuids::hash_value(value);
0035 }
0036 };
0037 }
0038
0039 #endif
0040 #endif