coord: make size method constexpr

This commit is contained in:
Danny Robson 2015-09-15 21:05:37 +10:00
parent ee401e4409
commit b66a3ba46f

View File

@ -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;