Medium
Constrain a template to arithmetic types
Fill in the blank so doubleIt fails to compile for non-arithmetic types like std::string, instead of silently doing the wrong thing.
main.cpp
template <typename T>T doubleIt(T x) { static_assert(, "T must be arithmetic"); return x * 2;}92 of 117 in C++