#include #include constexpr int square(int x) { return x * x; } consteval int fixed_limit() { return square(4); } constinit int counter = square(2); int main() { constexpr int limit = fixed_limit(); static_assert(limit == 16); int input = 3; const int result = square(input); ++counter; assert(result == 9 && counter == 5); std::cout << limit << ' ' << result << ' ' << counter << '\n'; }