25 #include <type_traits> 29 template<
bool B,
class T =
void>
55 template<
typename T,
typename ... Args>
61 template<
typename T,
typename ... Args>
63 return std::make_shared<T>(std::forward<Args>(
args)...);
typename std::enable_if< B, T >::type enable_if_t
An shorthand alias for accessing the ::type inside std::enable_if that can be used in a template dire...
Typedefs for easier changing of types.
gtsam::enable_if_t< needs_eigen_aligned_allocator< T >::value, std::shared_ptr< T > > make_shared(Args &&... args)
STL compatible allocator to use with types requiring a non standrad alignment.
Eigen::Triplet< double > T