#include <iostream>
typedef int*** INT;
template <typename T>
struct S {
enum {result = 2};
};
template<typename T>
struct S<T*> {
enum {result = 1 + S<T>::result};
};
int main() {
std::cout << S<INT>::result;
return 0;
}
Login in to like
Login in to comment