you are viewing a single comment's thread
view the rest of the comments
[–] 1 point 2 years ago

Ah. In that case, I look forward to there being a new keyword in C++26 or later that you add to enforce that the enumeration really only does take one of the enumerated values, rather than just being a strongly typed number, since that seems to be the way that the language likes to do things...

  • source
  • parent