R
Rob
I want to do something like this:
But the problem is it has no way (I can see) to differentiate based on
type. How do I do something like that?
Code:
template <typename MyType>
std::vector<MYType> get(SomeClass c)
{
...elided...
}
int main()
{
std::vector<std::vector<std::string> ret = get( c );
}
But the problem is it has no way (I can see) to differentiate based on
type. How do I do something like that?