elizarov
04/26/2017, 12:19 PMconstexpr
functions are not macros. The key insight here is that you don’t really need macros most of the time. Macros is like hammer. You can do a lot of things with it, but most of the problems you encounter (inlining debug functions and generating compile-time constants are two good examples here) can (and should be) solved with more targeted features, because those narrower features get a nice tooling automatically without you having to write IDE plugin every time.rrader
04/26/2017, 12:23 PM