// Copyright 2022 Peter Dimov. // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #ifndef BOOST_HASH_IS_DESCRIBED_CLASS_HPP_INCLUDED #define BOOST_HASH_IS_DESCRIBED_CLASS_HPP_INCLUDED #include #include #include #include namespace boost { namespace container_hash { #if defined(BOOST_DESCRIBE_CXX11) template struct is_described_class: boost::integral_constant::value && describe::has_describe_members::value && !boost::is_union::value> { }; #else template struct is_described_class: boost::false_type { }; #endif } // namespace container_hash } // namespace boost #endif // #ifndef BOOST_HASH_IS_DESCRIBED_CLASS_HPP_INCLUDED