My code:
template <class T>
class Test {
Test<T>() = default;
};
gives the error:
error: expected unqualified-id before ‘)’ token 165 |
Test() = default;
C++ standard used is 20.g++ 11.2.
What is causing this?
My code:
template <class T>
class Test {
Test<T>() = default;
};
gives the error:
error: expected unqualified-id before ‘)’ token 165 |
Test() = default;
C++ standard used is 20.g++ 11.2.
What is causing this?