Re: Analog scoped enum to a C ++ 11
Hello, kov_serg, you wrote: _> Really only at you one such problems arose? Which "such"? _> What for it were necessary for you enum, moreover and isolated. For convenience and reliability. A common example: there is a server (in my case - the kernel driver), is the client. By operation with the server the codes of operations, modes, etc. which are the most natural for setting renumerators are used, these codes are often transferred simply in parameters of requests, out of structures. If to declare their normal enum' - it is necessary to attach to them unique prefixes, and it looks clumsily in language, using qualifiers of areas of visibility.