Namespaces | Typedefs | Functions
make_shared.h File Reference

make_shared trampoline function to ensure proper alignment More...

#include <gtsam/base/types.h>
#include <Eigen/Core>
#include <type_traits>
Include dependency graph for make_shared.h:
This graph shows which files directly or indirectly include this file:

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, std::shared_ptr< T > > gtsam::make_shared (Args &&... args)
 
template<typename T , typename ... Args>
gtsam::enable_if_t<!needs_eigen_aligned_allocator< T >::value, std::shared_ptr< T > > gtsam::make_shared (Args &&... args)
 Fall back to the boost version if no need for alignment. More...
 

Detailed Description

make_shared trampoline function to ensure proper alignment

Author
Fan Jiang

Definition in file make_shared.h.



gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:18:31