Wataru, 1) expression did not evaluate to a constant. 2)expression must have a constant value.
Не ясно ведь iota и array могут быть constexpr, но почему-то с array не хочет
Wataru, на вторую строчку.
Вот еще: failure was caused by taking the address of an object that does not have static storage duration.
Теперь ясно что надо было static. Я это ошибку не увидел