mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fix grammar in I.22
This commit is contained in:
parent
d144707dab
commit
66ca2b5f6a
|
@ -1596,8 +1596,8 @@ Complex initialization can lead to undefined order of execution.
|
|||
|
||||
const X x = g(y); // read y; write x
|
||||
|
||||
Since `x` and `y` are in different translation units the order of calls to `f()` and `g()` are undefined;
|
||||
once will access and uninitialized `const`.
|
||||
Since `x` and `y` are in different translation units the order of calls to `f()` and `g()` is undefined;
|
||||
one will access an uninitialized `const`.
|
||||
This particular example shows that the order-of-initialization problem for global (namespace scope) objects is not limited to global *variables*.
|
||||
|
||||
##### Note
|
||||
|
|
Loading…
Reference in New Issue
Block a user