From 1df34eb4490d85e634308260243478c40cf0018d Mon Sep 17 00:00:00 2001 From: Joris Vaillant <joris.vaillant@inria.fr> Date: Fri, 2 Feb 2024 10:11:05 +0100 Subject: [PATCH] unique_ptr: Add doc and missing include --- include/eigenpy/std_unique_ptr.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/eigenpy/std_unique_ptr.hpp b/include/eigenpy/std_unique_ptr.hpp index 2c1c7bdd..d1445670 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< -- GitLab