19 Jun
2015
19 Jun
'15
11:17 a.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.
Hmmm - what about all the mpl arithmetic functions built around mpl integral constants? All that gets replace by easy to understand compile time expressions which can be used in other template expressions? This simplifies things immensely. Robert Ramey