Initial fixes for bug #85.
Renamed meta_{true|false} to {true|false}_type, meta_if to conditional, is_same_type to is_same, un{ref|pointer|const} to remove_{reference|pointer|const} and makeconst to add_const.
Changed boolean type 'ret' member to 'value'.
Changed 'ret' members refering to types to 'type'.
Adapted all code occurences.
diff --git a/test/array.cpp b/test/array.cpp
index 70473bd..72d3584 100644
--- a/test/array.cpp
+++ b/test/array.cpp
@@ -206,11 +206,11 @@
CALL_SUBTEST_5( array_real(ArrayXXf(8, 12)) );
}
- VERIFY((internal::is_same_type< internal::global_math_functions_filtering_base<int>::type, int >::ret));
- VERIFY((internal::is_same_type< internal::global_math_functions_filtering_base<float>::type, float >::ret));
- VERIFY((internal::is_same_type< internal::global_math_functions_filtering_base<Array2i>::type, ArrayBase<Array2i> >::ret));
+ VERIFY((internal::is_same< internal::global_math_functions_filtering_base<int>::type, int >::value));
+ VERIFY((internal::is_same< internal::global_math_functions_filtering_base<float>::type, float >::value));
+ VERIFY((internal::is_same< internal::global_math_functions_filtering_base<Array2i>::type, ArrayBase<Array2i> >::value));
typedef CwiseUnaryOp<internal::scalar_sum_op<double>, ArrayXd > Xpr;
- VERIFY((internal::is_same_type< internal::global_math_functions_filtering_base<Xpr>::type,
+ VERIFY((internal::is_same< internal::global_math_functions_filtering_base<Xpr>::type,
ArrayBase<Xpr>
- >::ret));
+ >::value));
}