/// @file /// @brief task C: function templates #pragma once #include namespace two { /// @todo: implement ONE function template covering the function overloads 'one::add' /// @todo: implement ONE function template covering the function overloads 'one::sum' template T add(const T& a, const T& b) { return a + b; } template T sum(const std::vector& vec) { T res = 0; for (T x : vec) { res += x; } return res; } // namespace two