Skip to content

Commit

Permalink
unique_ptr: Add doc and missing include
Browse files Browse the repository at this point in the history
  • Loading branch information
jorisv committed Feb 2, 2024
1 parent 848bbed commit 5d2a418
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/eigenpy/std_unique_ptr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <boost/python.hpp>

#include <memory>
#include <type_traits>

namespace eigenpy {

Expand Down Expand Up @@ -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<
Expand Down

0 comments on commit 5d2a418

Please sign in to comment.