mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-06-22 08:52:15 +08:00
Worked around Visual Studio compilation errors
This commit is contained in:
parent
d5f88e2357
commit
0a9ad6fc72
@ -38,7 +38,9 @@ struct traits<TensorEvalToOp<XprType, MakePointer_> >
|
|||||||
};
|
};
|
||||||
template <class T>
|
template <class T>
|
||||||
struct MakePointer {
|
struct MakePointer {
|
||||||
typedef typename MakePointer_<T>::Type Type;
|
// Intermediate typedef to workaround MSVC issue.
|
||||||
|
typedef MakePointer_<T> MakePointerT;
|
||||||
|
typedef typename MakePointerT::Type Type;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -42,9 +42,10 @@ struct traits<TensorForcedEvalOp<XprType, MakePointer_> >
|
|||||||
enum {
|
enum {
|
||||||
Flags = 0
|
Flags = 0
|
||||||
};
|
};
|
||||||
template <class T>
|
template <class T> struct MakePointer {
|
||||||
struct MakePointer {
|
// Intermediate typedef to workaround MSVC issue.
|
||||||
typedef typename MakePointer_<T>::Type Type;
|
typedef MakePointer_<T> MakePointerT;
|
||||||
|
typedef typename MakePointerT::Type Type;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user