On 03/28/2011 11:48 AM, Andrew Sutton wrote:
>> 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
Thank you:)
Patrick