C++11 - Wikipedia, the free encyclopedia
This allows the compiler to understand, and verify, that get_five() is a compile-time constant. Using constexpr on a function imposes some limits on what that function can do. First, the function must have a non-void return type. Second, the function body...