C++: What are constexpr and constinit ?
Nov 10, 2023 · 5 min read · Introduction to Constexpr - C++11 C++11 introduced a new specifier called constexpr. The reason for introducing constexpr was that many operations which were being performed at runtime, could be done at compile time - i.e. baked into code. This would...
Join discussion
