reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1 2 3 4 5 6 7 8 | template<typename T> constexpr T add(T arg1, T arg2) { return arg1 + arg2; } template<> constexpr int add(int arg1, int arg2) { return arg1 + arg2 + 2; } |