template<typenameT>voidFoo2(vector2<constT*>V){}// expected-note{{candidate template ignored: can't deduce a type for 'T' which would make 'const T' equal 'int'}}
template<typenameT>voidFoo(vector<constT*>V){}// expected-note {{candidate template ignored: can't deduce a type for 'T' which would make 'const T' equal 'int'}}
voidtest(){
Foo2(vector2<int*>());// expected-error{{no matching function for call to 'Foo2'}}
Foo(vector<int*>());// expected-error{{no matching function for call to 'Foo'}}