Re:C++17 constexpr everything, or as much as the compiler can
by geezerjay on Friday December 29, 2017 @04:31AM
(#16028574)
> Is there a C++ compiler that doesn't include 'make' and/or a 'make' replacement?
Yes, all of them.
Because 'make' and/or 'make' replacements have absolutely zero to do with a compiler. It is a build automation tool that essentially determines which target needs to be built based on which preceding targets have been altered. This has zero to do with what a compiler does.
'extern const int *table;'
Having a compile-time program create table would guarantee that it's created at compile time. Having a constexpr does not guarantee it would be done at compile-time, it silently degrades to run-time. If verifying requires an assembly listing, I see it less useful than the currently available tools.