A using-enum-declaration in class scope
makes the enumerators of the named enumeration available via member lookup.
[Example 2: enumclass fruit { orange, apple };
struct S {usingenum fruit; // OK, introduces orange and apple into S};
void f(){
S s;
s.orange; // OK, names fruit::orange
S::orange; // OK, names fruit::orange} — end example]