28 Mar
2011
28 Mar
'11
6:48 p.m.
void operator<<(std::vector<const T> t){ std::cout << "Got a vector of
Because this overload matches "const T". The vector declared in your main is "vector<int>". Template argument deduction won't match vector<int> because isn't of the form vector<const int>. Andrew