ES.30 fix example code (#2143)
* ES.30 fix example code The example should be passing in a constexpr and validating it at compile time like a macro, but instead passes a unknown value at compile time. Which may cause mislead and the code doesn't even work. Ref: #2136 * Update CppCoreGuidelines.md Used enums instead of raw numbers.pull/2156/head
parent
56e5b42eee
commit
1bdb43e5c7
Loading…
Reference in New Issue