you can use auto return type for return type inference then use when T is 
string/array/whatever to separate code paths for different types.

Reply via email to