mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
fixed typos
This commit is contained in:
parent
ef18df66e8
commit
b831fedb4a
|
@ -12111,7 +12111,7 @@ For writing to a file, there is rarely a need to `flush`.
|
||||||
##### Note
|
##### Note
|
||||||
|
|
||||||
Apart from the (occasionally important) issue of performance,
|
Apart from the (occasionally important) issue of performance,
|
||||||
the choice between `"\\n"` and `endl` is almost completely aestetic.
|
the choice between `"\\n"` and `endl` is almost completely aesthetic.
|
||||||
|
|
||||||
## SL.regex: Regex
|
## SL.regex: Regex
|
||||||
|
|
||||||
|
@ -12465,7 +12465,7 @@ Before a variable has been initialized, it does not contain a deterministic vali
|
||||||
struct X { int i; };
|
struct X { int i; };
|
||||||
|
|
||||||
X x;
|
X x;
|
||||||
use(x); // BAD, x hs not been initialized
|
use(x); // BAD, x has not been initialized
|
||||||
|
|
||||||
X x2{}; // GOOD
|
X x2{}; // GOOD
|
||||||
use(x2);
|
use(x2);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user