DEBUGGING_MSVC_2015: converting `using is_smart_holder_type_caster = std::true_type;` to a struct.

parent 79e3c5d1
...@@ -1186,7 +1186,7 @@ public: ...@@ -1186,7 +1186,7 @@ public:
// clang-format on // clang-format on
struct smart_holder_type_caster_class_hooks { struct smart_holder_type_caster_class_hooks {
using is_smart_holder_type_caster = std::true_type; struct is_smart_holder_type_caster { static constexpr bool value = true; };
static decltype(&modified_type_caster_generic_load_impl::local_load) static decltype(&modified_type_caster_generic_load_impl::local_load)
get_local_load_function_ptr() { get_local_load_function_ptr() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment