I\'m trying to implement std::is_enum. Here is my code so far:
std::is_enum
template struct is_enum { static bool value; }; template
You problem is that
template
Is interpreted as unnamed parameter with type forward declared enum named E. Semantically same to
E
Just substituting int with enum E.
int
enum E