Which programming language is this?
template <typename T>
constexpr T square(T x) { return x * x; }
Answer: C++
A
Play Programming Languages ▸
template with constexpr is C++ compile-time generic code.