mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
static const class members turned into constexpr
This commit is contained in:
committed by
Rasmus Munk Larsen
parent
2c0ef43b48
commit
64909b82bd
@@ -66,9 +66,9 @@ template<typename PlainObjectType, int Options_, template <class> class MakePoin
|
||||
const Scalar&
|
||||
> StorageRefType;
|
||||
|
||||
static const int Options = Options_;
|
||||
static constexpr int Options = Options_;
|
||||
|
||||
static const Index NumIndices = PlainObjectType::NumIndices;
|
||||
static constexpr Index NumIndices = PlainObjectType::NumIndices;
|
||||
typedef typename PlainObjectType::Dimensions Dimensions;
|
||||
|
||||
static constexpr int Layout = PlainObjectType::Layout;
|
||||
|
||||
Reference in New Issue
Block a user