diff --git a/CppCoreGuidelines.md b/CppCoreGuidelines.md index 8dcbf8d..0d80405 100644 --- a/CppCoreGuidelines.md +++ b/CppCoreGuidelines.md @@ -9070,9 +9070,13 @@ Instead use an `enum`: We used an `enum class` to avoid name clashes. +##### Note + +Also consider `constexpr` and `const inline` variables. + ##### Enforcement -Flag macros that define integer values. +Flag macros that define integer values. Use `enum` or `const inline` or another non-macro alternative instead. ### Enum.2: Use enumerations to represent sets of related named constants