File indexing completed on 2025-01-18 09:30:24
0001 #ifndef BOOST_HASH_IS_TUPLE_LIKE_HPP_INCLUDED
0002 #define BOOST_HASH_IS_TUPLE_LIKE_HPP_INCLUDED
0003
0004
0005
0006
0007
0008 #include <type_traits>
0009 #include <utility>
0010
0011 namespace boost
0012 {
0013 namespace hash_detail
0014 {
0015
0016 template<class T, class E = std::true_type> struct is_tuple_like_: std::false_type
0017 {
0018 };
0019
0020 template<class T> struct is_tuple_like_<T, std::integral_constant<bool, std::tuple_size<T>::value == std::tuple_size<T>::value> >: std::true_type
0021 {
0022 };
0023
0024 }
0025
0026 namespace container_hash
0027 {
0028
0029 template<class T> struct is_tuple_like: hash_detail::is_tuple_like_<T>
0030 {
0031 };
0032
0033 }
0034 }
0035
0036 #endif