Commit 9b0b40e0 by Wenzel Jakob

add converter for nullptr_t

parent 5ef12190
......@@ -308,8 +308,8 @@ public:
PYBIND11_TYPE_CASTER(void_type, "None");
};
template <> class type_caster<void> : public type_caster<void_type> {
};
template <> class type_caster<void> : public type_caster<void_type> { };
template <> class type_caster<std::nullptr_t> : public type_caster<void_type> { };
template <> class type_caster<bool> {
public:
......
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