11#ifndef EIGEN_STL_DETAILS_H
12#define EIGEN_STL_DETAILS_H
14#ifndef EIGEN_ALIGNED_ALLOCATOR
15 #define EIGEN_ALIGNED_ALLOCATOR Eigen::aligned_allocator
54#define EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T) \
55 typename Eigen::internal::conditional< \
56 Eigen::internal::is_arithmetic<T>::value, \
58 Eigen::internal::workaround_msvc_stl_support<T> \
62 template<
typename T>
struct workaround_msvc_stl_support :
public T
64 inline workaround_msvc_stl_support() : T() {}
65 inline workaround_msvc_stl_support(
const T& other) : T(other) {}
66 inline operator T& () {
return *
static_cast<T*
>(
this); }
67 inline operator const T& ()
const {
return *
static_cast<const T*
>(
this); }
68 template<
typename OtherT>
69 inline T& operator=(
const OtherT& other)
70 { T::operator=(other);
return *
this; }
71 inline workaround_msvc_stl_support& operator=(
const workaround_msvc_stl_support& other)
72 { T::operator=(other);
return *
this; }
78#define EIGEN_WORKAROUND_MSVC_STL_SUPPORT(T) T
T * pointer
Definition: details.h:27
aligned_allocator_indirection(const aligned_allocator_indirection< U > &)
Definition: details.h:43
std::ptrdiff_t difference_type
Definition: details.h:26
~aligned_allocator_indirection()
Definition: details.h:46
const T * const_pointer
Definition: details.h:28
T & reference
Definition: details.h:29
T value_type
Definition: details.h:31
aligned_allocator_indirection(const EIGEN_ALIGNED_ALLOCATOR< U > &)
Definition: details.h:45
std::size_t size_type
Definition: details.h:25
aligned_allocator_indirection(const aligned_allocator_indirection &)
Definition: details.h:40
aligned_allocator_indirection()
Definition: details.h:39
aligned_allocator_indirection(const EIGEN_ALIGNED_ALLOCATOR< T > &)
Definition: details.h:41
const T & const_reference
Definition: details.h:30
#define EIGEN_ALIGNED_ALLOCATOR
Definition: details.h:15
Namespace containing all symbols from the Eigen library.
Definition: MatrixExponential.h:16
Definition: Eigen_Colamd.h:50
aligned_allocator_indirection< U > other
Definition: details.h:36