File indexing completed on 2025-01-18 09:30:24
0001
0002
0003
0004
0005 #ifndef BOOST_HASH_IS_DESCRIBED_CLASS_HPP_INCLUDED
0006 #define BOOST_HASH_IS_DESCRIBED_CLASS_HPP_INCLUDED
0007
0008 #include <boost/describe/bases.hpp>
0009 #include <boost/describe/members.hpp>
0010 #include <type_traits>
0011
0012 namespace boost
0013 {
0014 namespace container_hash
0015 {
0016
0017 #if defined(BOOST_DESCRIBE_CXX11)
0018
0019 template<class T> struct is_described_class: std::integral_constant<bool,
0020 describe::has_describe_bases<T>::value &&
0021 describe::has_describe_members<T>::value &&
0022 !std::is_union<T>::value>
0023 {
0024 };
0025
0026 #else
0027
0028 template<class T> struct is_described_class: std::false_type
0029 {
0030 };
0031
0032 #endif
0033
0034 }
0035 }
0036
0037 #endif