#ifndef RFL_INTERNAL_HASREFLECTIONMETHODV_HPP_ #define RFL_INTERNAL_HASREFLECTIONMETHODV_HPP_ #include namespace rfl { namespace internal { template using reflection_method_t = decltype(std::declval().reflection()); template > struct has_refl_m : std::false_type {}; template struct has_refl_m>> : std::true_type {}; /// Utility parameter for named tuple parsing, can be used by the /// parsers to determine whether a class or struct has a method /// called "reflection". template constexpr bool has_reflection_method_v = has_refl_m::value; } // namespace internal } // namespace rfl #endif