Skip to content
Snippets Groups Projects
Verified Commit 5af6524a authored by Justin Carpentier's avatar Justin Carpentier
Browse files

core: add EIGENPY_CLASS_HOLDER_TYPE

parent db587f01
No related branches found
No related tags found
No related merge requests found
......@@ -93,6 +93,14 @@
#include "eigenpy/expose.hpp"
#ifdef EIGENPY_WITH_CXX11_SUPPORT
#include <memory>
#define EIGENPY_CLASS_HOLDER_TYPE(T) ::std::shared_ptr<T>
#else
#include <boost/shared_ptr.hpp>
#define EIGENPY_CLASS_HOLDER_TYPE(T) ::boost::shared_ptr<T>
#endif
namespace eigenpy {
template <typename MatType,
typename Scalar =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment