That's something you want to rethink. Typedefs inside main are legal, but are never correct.
(*It is possible there is a situation in which they are correct, but I am unable to come up with one.)
Type: Posts; User: tabstop
That's something you want to rethink. Typedefs inside main are legal, but are never correct.
(*It is possible there is a situation in which they are correct, but I am unable to come up with one.)
My understanding was that any template parameter that can be deduced from the arguments can be omitted: since the template name is the type of the first variable, then using
populateData(vec1,...