How do I check if a variable is a template class without knowing the template argument, so in the example below, how do I determine (prove) that A<int> is an A.
template <class T>
class A {/*----*/};
int main() {
auto a1 = A<int>();
bool is_a1_an_A = some_method(a1, A);
}
Any help is greatly appreciated. Thanks!