You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
better-enums uses some identifiers which are not allowed according to the C++ standard. Identifiers beginning with an underscore followed by an uppercase letter are reserved in any namespace (ref). better-enums uses three of those:
_Iterable
_PutNamesInThisScopeAlso
_EnumClassForSwitchStatements
What makes it worse is that these identifiers are not only in library headers, but are inserted into all users' source files via macros. Therefore, code quality checkers flag all sources using better-enums as violating standards.
The text was updated successfully, but these errors were encountered:
better-enums uses some identifiers which are not allowed according to the C++ standard. Identifiers beginning with an underscore followed by an uppercase letter are reserved in any namespace (ref). better-enums uses three of those:
_Iterable
_PutNamesInThisScopeAlso
_EnumClassForSwitchStatements
What makes it worse is that these identifiers are not only in library headers, but are inserted into all users' source files via macros. Therefore, code quality checkers flag all sources using better-enums as violating standards.
The text was updated successfully, but these errors were encountered: