mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
Remove rogue comma from example
This commit is contained in:
committed by
Thibault Kruse
parent
04cd9a5d73
commit
9f2d2645ff
@@ -7458,7 +7458,7 @@ Such code is not uncommon in code written before there were convenient alternati
|
|||||||
|
|
||||||
Use `constexpr` values instead. For example:
|
Use `constexpr` values instead. For example:
|
||||||
|
|
||||||
constexpr int red = 0x,FF0000;
|
constexpr int red = 0xFF0000;
|
||||||
constexpr short scale = 4;
|
constexpr short scale = 4;
|
||||||
constexpr bool signed = true;
|
constexpr bool signed = true;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user