#include <stdio.h> class a{ public: void test(){printf("a");} }; class b{ public: void test(){printf("b");} }; class c{ public: void test(){printf("c");} }; int main(){ a aa; b bb;c cc; }
1.3.11 signature [defns.signature] the information about a function that participates in overload resolution (13.3): its parameter-type-list (8.3.5) and, if the function is a class member, the cv- qualifiers (if any) on the function itself and the class in which the member function is declared. The signature of a function template specialization includes the types of its template arguments (14.5.5.1).