Skip to content

Commit e9ca798

Browse files
author
Colin Robertson
authored
Merge pull request MicrosoftDocs#2387 from JordanMaples/patch-14
Add C++ Core Guidelines link to C26427
2 parents c6184f0 + 61c7f74 commit e9ca798

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/code-quality/c26427.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ms.assetid: 8fb95a44-8704-45b1-bc55-eccd59b1db2f
1111
"Global initializer accesses extern object."
1212

1313
**C++ Core Guidelines**:
14-
I.22: Avoid complex initialization of global objects
14+
[I.22](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md#i22-avoid-complex-initialization-of-global-objects): Avoid complex initialization of global objects
1515

1616
Global objects may be initialized in an inconsistent or undefined order, which means that interdependency between them is risky and should be avoided. This guideline is applicable when initializers refer to another object that's considered to be **`extern`**.
1717

0 commit comments

Comments
 (0)