How to detect existence of a class using SFINAE?
If we ask the compiler to tell us anything about a class type T that has not even been declared we are bound to get a compilation error. There is no way around that. Therefore if we want to know whether class T “exists”, where T might not even have been declared yet, we must … Read more