, , , f char Test, . , , f char :
template <typename T>
struct Test {
template <typename U> void f();
template <> void f<char>();
};
Test<int>, () , f char Test<int>.
, . Test<char>::f<char>(), , , .
f char , . , . , -:
template <typename T>
struct Test {
template <typename U> void f( U );
void f( char );
};
, ( ). , , , , :
int main() {
Test<int> t;
t.f<char>();
}
, , .