#ifndef BHO_DESCRIBE_ENUMERATORS_HPP_INCLUDED #define BHO_DESCRIBE_ENUMERATORS_HPP_INCLUDED // Copyright 2020, 2021 Peter Dimov // Distributed under the Boost Software License, Version 1.0. // https://www.boost.org/LICENSE_1_0.txt #include #include #if defined(BHO_DESCRIBE_CXX11) #include namespace bho { namespace describe { // describe_enumerators template using describe_enumerators = decltype( bho_enum_descriptor_fn( static_cast(0) ) ); // has_describe_enumerators namespace detail { template struct has_describe_enumerators: std::false_type { }; template struct has_describe_enumerators>>: std::true_type { }; } // namespace detail template using has_describe_enumerators = detail::has_describe_enumerators; } // namespace describe } // namespace bho #endif // defined(BHO_DESCRIBE_CXX11) #endif // #ifndef BHO_DESCRIBE_ENUMERATORS_HPP_INCLUDED