enum class , of course, but what is an enum struct ?
Same as enum class .
Are they the same?
Yes. The documentation is correct.
Or are there any differences that I missed?
No. There are no differences.
What is the point (if they are the same) of having 2 different syntaxes for the same thing?
I did not find any written rationalization for the solution. In the standard and the proposal there is not one. You can guess that this is a kind of analogue of class vs struct class-keys. This is the opposite solution than what was indicated when the syntax template<class T> was specified, where struct not allowed.
source share