U
u.int.32.t
Is there a way to make a single template function that will accept
both const and non-const parameter types by reference without making a
copy?
For example, I can write this which will accept both, but will always
make a copy:
template<typename T1>
void accept(T1 t);
Thanks for your time.
both const and non-const parameter types by reference without making a
copy?
For example, I can write this which will accept both, but will always
make a copy:
template<typename T1>
void accept(T1 t);
Thanks for your time.