https://bugs.documentfoundation.org/show_bug.cgi?id=168771

--- Comment #2 from Hossein <[email protected]> ---
(In reply to Stephan Bergmann from comment #1)
> (In reply to Hossein from comment #0)
> > [...] lack
> > of ability to define the underlying data type [...] are
> > some of the problems with plain enum that enum class solves.
> (that's not quite accurate, the underlying type can be explicitly specified
> also for unscoped enumerations, since C++ 11)
Thanks Stephan for the above note. I clarify that before C++11 one could not
specify the underlying type in enum, but since C++11 it is possible.

Beyond that, there are still many reasons to use 'enum class' instead of 'enum'
in new enumerations.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to