You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

17 lines
239 B

class TestClass {
public:
TestClass();
template <class T>
TestClass(T t) { ++t; }
~TestClass() {}
void function();
};
TestClass::TestClass() {}
void TestClass::function() {}
int main() {
TestClass test;
test.function();
}