constexpr
By now we all know now that constexpr
can be used to generate virtually anything at compile time. But what does this mean for our normal day to day C++ work? How, why, and most importantly where do we use constexpr
to get the most out of it in our quest for clean efficient C++?
Introduction
constexpr
constexpr
Preparing for constexpr
constexpr
mindsetconstexpr
constexpr
Using constexpr
Conclusion
constexpr
supportconstexpr
for C++20