add converter for nullptr_t

This commit is contained in:
Wenzel Jakob 2015-12-16 11:34:39 +01:00
parent 5ef1219030
commit 9b0b40e0b0

View File

@ -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: