enumclass is a single keyword that just happens to contain a space. It is the same as enum except that the enumerated names are inside the scope of the enum. If you just write enum, then the enumerated names are in the enclosing scope (this is generally undesirable).