19 Jun
2015
19 Jun
'15
11:35 p.m.
On 6/19/15 1:40 AM, Mathias Gaunard wrote:
What template meta-programming were you able to replace by constexpr?
As far as I'm concerned, I've yet to see a use case where constexpr is anything but an optimization hint.
In http://pdimov.com/cpp2/simple_cxx11_metaprogramming_2.html I show one constexpr use that isn't an optimization hint. It involves traversing a constexpr array of bools at compile time.