File indexing completed on 2025-01-18 09:37:40
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010 #ifndef BOOST_HANA_CORE_DEFAULT_HPP
0011 #define BOOST_HANA_CORE_DEFAULT_HPP
0012
0013 #include <boost/hana/fwd/core/default.hpp>
0014
0015 #include <boost/hana/config.hpp>
0016
0017 #include <type_traits>
0018
0019
0020 namespace boost { namespace hana {
0021 template <typename Method, typename>
0022 struct is_default : std::false_type { };
0023
0024 template <typename Method>
0025 struct is_default<Method, decltype((void)
0026 static_cast<default_>(*(Method*)0)
0027 )>
0028 : std::true_type
0029 { };
0030 }}
0031
0032 #endif