Is there any way to reduce the number of times you have to write:
template<typename T>
for a bunch of functions all using the same template parameters?
i.e., something like this:
template<typename T>
namespace my_functions_using_T {
T function_do_something(const T & t);
void function_do_something_else(T & t);
}
(besides making them all methods of a class... which seems heavy handed...?)