mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-18 13:14:40 +03:00
ES.20: Fix typo (#1033)
This commit is contained in:
committed by
Jonathan Wakely
parent
1b2ba25b4b
commit
d318a68e35
@@ -10108,7 +10108,7 @@ Many such errors are introduced during maintenance years after the initial imple
|
|||||||
|
|
||||||
##### Exception
|
##### Exception
|
||||||
|
|
||||||
It you are declaring an object that is just about to be initialized from input, initializing it would cause a double initialization.
|
If you are declaring an object that is just about to be initialized from input, initializing it would cause a double initialization.
|
||||||
However, beware that this may leave uninitialized data beyond the input -- and that has been a fertile source of errors and security breaches:
|
However, beware that this may leave uninitialized data beyond the input -- and that has been a fertile source of errors and security breaches:
|
||||||
|
|
||||||
constexpr int max = 8 * 1024;
|
constexpr int max = 8 * 1024;
|
||||||
|
|||||||
Reference in New Issue
Block a user