coord: make size method constexpr
This commit is contained in:
parent
ee401e4409
commit
b66a3ba46f
@ -33,7 +33,7 @@ namespace util { namespace coord {
|
|||||||
static constexpr size_t dimension = S;
|
static constexpr size_t dimension = S;
|
||||||
static constexpr size_t elements = S;
|
static constexpr size_t elements = S;
|
||||||
|
|
||||||
size_t size (void) const { return S; }
|
constexpr size_t size (void) const { return S; }
|
||||||
|
|
||||||
// constructors
|
// constructors
|
||||||
using init<S,T,tags...>::init;
|
using init<S,T,tags...>::init;
|
||||||
|
Loading…
Reference in New Issue
Block a user