The following code does not compile, why is that? And how can I fix this?
struct A{ template int get() { return N; } }; template
you must disambiguate it, like so:
templateint get() { return X::template get(); }