1 2 3 4 5 6 7
#include <type_traits> int static_cxx_func(int x) { return x * x + std::integral_constant<int, 14>::value; }