make_shared trampoline function to ensure proper alignment More...
#include <gtsam/base/types.h>#include <Eigen/Core>#include <boost/make_shared.hpp>#include <type_traits>

Go to the source code of this file.
Namespaces | |
| gtsam | |
| traits | |
Typedefs | |
| template<bool B, class T = void> | |
| using | gtsam::enable_if_t = typename std::enable_if< B, T >::type |
| An shorthand alias for accessing the type inside std::enable_if that can be used in a template directly. More... | |
Functions | |
| template<typename T , typename... Args> | |
| gtsam::enable_if_t< needs_eigen_aligned_allocator< T >::value, boost::shared_ptr< T > > | gtsam::make_shared (Args &&...args) |
| template<typename T , typename... Args> | |
| gtsam::enable_if_t<!needs_eigen_aligned_allocator< T >::value, boost::shared_ptr< T > > | gtsam::make_shared (Args &&...args) |
| Fall back to the boost version if no need for alignment. More... | |
make_shared trampoline function to ensure proper alignment
Definition in file make_shared.h.