mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Added example to NL 9
This commit is contained in:
parent
592d67ea12
commit
a86ae876a2
|
@ -12859,7 +12859,11 @@ To avoid confusing macros from names that obeys scope and type rules.
|
||||||
|
|
||||||
##### Example
|
##### Example
|
||||||
|
|
||||||
???
|
void f()
|
||||||
|
{
|
||||||
|
const int SIZE{1000}; // Bad, use 'size' instead
|
||||||
|
int v[SIZE];
|
||||||
|
}
|
||||||
|
|
||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user