diff --git a/include/boost/python/extract.hpp b/include/boost/python/extract.hpp index 18d8c5c2..16efb3bf 100644 --- a/include/boost/python/extract.hpp +++ b/include/boost/python/extract.hpp @@ -108,9 +108,9 @@ struct extract { private: typedef typename converter::select_extract::type base; - typedef bool (extract::*bool_type)() const; public: typedef typename base::result_type result_type; + operator result_type() const { return (*this)();