Re:C++17 constexpr everything, or as much as the compiler can
by andrepd on Thursday December 28, 2017 @10:15AM
(#16022366)
Why do you say writing auxiliary programs and tools to integrate the data is "standard practice", and a simple and straightforward language feature are "advanced compiler tricks"?
[ Parent
| on HN ]
Re:C++17 constexpr everything, or as much as the compiler can
by pm215 on Thursday December 28, 2017 @10:30AM
(#16022477)
Because 'generate a table by having make run a simple program' is something people have done for decades with C, C++ and other languages, whereas constexpr is a new feature that's only just appeared in the C++ language spec and apparently silently degrades to "not actually at compile time".