aboutsummaryrefslogtreecommitdiffhomepage
path: root/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
diff options
context:
space:
mode:
authorGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-12 18:11:56 -0800
committerGravatar Benoit Steiner <benoit.steiner.goog@gmail.com>2015-11-12 18:11:56 -0800
commit150c12e138ab372d7f43ce19b260acd36ede9fc3 (patch)
tree0ba453d0de90ca8b9a9f5eca1cff3eb2d58b41e1 /unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
parent8037826367a7becab046df2a8be08a28806a625f (diff)
Completed the IndexList rewrite
Diffstat (limited to 'unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h')
-rw-r--r--unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
index 206808245..170dacb98 100644
--- a/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
+++ b/unsupported/Eigen/CXX11/src/Tensor/TensorDimensionList.h
@@ -46,27 +46,27 @@ template<DenseIndex n, typename Index, std::size_t Rank> const Index array_get(c
#if defined(EIGEN_HAS_CONSTEXPR)
template <typename Index, std::size_t Rank>
-struct index_known_statically<DimensionList<Index, Rank> > {
- constexpr bool operator() (const DenseIndex) const {
+struct index_known_statically_impl<DimensionList<Index, Rank> > {
+ static constexpr bool run(const DenseIndex) {
return true;
}
};
template <typename Index, std::size_t Rank>
-struct index_known_statically<const DimensionList<Index, Rank> > {
- constexpr bool operator() (const DenseIndex) const {
+struct index_known_statically_impl<const DimensionList<Index, Rank> > {
+ static constexpr bool run(const DenseIndex) {
return true;
}
};
template <typename Index, std::size_t Rank>
-struct all_indices_known_statically<DimensionList<Index, Rank> > {
- constexpr bool operator() () const {
+struct all_indices_known_statically_impl<DimensionList<Index, Rank> > {
+ static constexpr bool run() {
return true;
}
};
template <typename Index, std::size_t Rank>
-struct all_indices_known_statically<const DimensionList<Index, Rank> > {
- constexpr bool operator() () const {
+struct all_indices_known_statically_impl<const DimensionList<Index, Rank> > {
+ static constexpr bool run() {
return true;
}
};