diff --git a/include/eigenpy/std_unique_ptr.hpp b/include/eigenpy/std_unique_ptr.hpp index 2c1c7bdd95282750650e92c405f3c25bd193c339..d144567066b1e1e4a7d877dfcd8856c7aeaa3499 100644 --- a/include/eigenpy/std_unique_ptr.hpp +++ b/include/eigenpy/std_unique_ptr.hpp @@ -11,6 +11,7 @@ #include <boost/python.hpp> #include <memory> +#include <type_traits> namespace eigenpy { @@ -133,6 +134,7 @@ struct ReturnInternalStdUniquePtr : bp::return_internal_reference<> { namespace boost { namespace python { +/// Specialize to_python_value for std::unique_ptr template <typename T> struct to_python_value<const std::unique_ptr<T>&> : eigenpy::details::StdUniquePtrResultConverter::apply<