aboutsummaryrefslogtreecommitdiffhomepage
path: root/Eigen/src/Core/util/Meta.h
diff options
context:
space:
mode:
authorGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-05-27 05:47:30 +0000
committerGravatar Benoit Jacob <jacob.benoit.1@gmail.com>2008-05-27 05:47:30 +0000
commit953efdbfe70efcb3f078f19c55baca0b118e683a (patch)
treedece04572c4384687accc008cfe9115cdc2ee6a0 /Eigen/src/Core/util/Meta.h
parent8f1fc80a77551b26c05669527534aff7b621b86c (diff)
- introduce Part and Extract classes, splitting and extending the former
Triangular class - full meta-unrolling in Part - move inverseProduct() to MatrixBase - compilation fix in ProductWIP: introduce a meta-selector to only do direct access on types that support it. - phase out the old Product, remove the WIP_DIRTY stuff. - misc renaming and fixes
Diffstat (limited to 'Eigen/src/Core/util/Meta.h')
-rw-r--r--Eigen/src/Core/util/Meta.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/Eigen/src/Core/util/Meta.h b/Eigen/src/Core/util/Meta.h
index 8d9e4c00a..6c0730531 100644
--- a/Eigen/src/Core/util/Meta.h
+++ b/Eigen/src/Core/util/Meta.h
@@ -192,15 +192,11 @@ template<typename T> struct ei_unref<T&> { typedef T type; };
template<typename T> struct ei_unconst { typedef T type; };
template<typename T> struct ei_unconst<const T> { typedef T type; };
-template<typename T> struct ei_is_temporary
-{
- enum { ret = int(ei_traits<T>::Flags) & TemporaryBit };
-};
template<typename T, int n=1> struct ei_nested
{
typedef typename ei_meta_if<
- ei_is_temporary<T>::ret,
+ ei_traits<T>::Flags & NestByValueBit,
T,
typename ei_meta_if<
int(ei_traits<T>::Flags) & EvalBeforeNestingBit