C++: What are constexpr and constinit ?
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...
learningtech.hashnode.dev5 min read