This whole time I used unscoped enum values without a scope but I just realized that you can also access it through a scope. How exactly does this work? I know that in C the enum values just get injected to its surrounding scope so when I saw fha unscoped enums were just basically C enums I’m confused Why can it be accessed through a scope and just by itself ie.
enum MyEnum{
VALUE
};
MyEnum x = VALUE; //works
MyEnum y = MyEnum::VALUE; //works
