Skip to content

Commit 0068321

Browse files
committed
Consistent References Blocks
1 parent f9ebe1f commit 0068321

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

CppCoreGuidelines.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1059,7 +1059,7 @@ Every pointer or reference to mutable data is a potential data race.
10591059

10601060
You cannot have a race condition on immutable data.
10611061

1062-
**Reference**: See the [rules for calling functions](#SS-call).
1062+
**References**: See the [rules for calling functions](#SS-call).
10631063

10641064
##### Enforcement
10651065

@@ -1226,7 +1226,7 @@ Some preconditions can be expressed as assertions. For example:
12261226

12271227
Ideally, that `Expects(x >= 0)` should be part of the interface of `sqrt()` but that's not easily done. For now, we place it in the definition (function body).
12281228

1229-
**Reference**: `Expects()` is described in [GSL](#S-gsl).
1229+
**References**: `Expects()` is described in [GSL](#S-gsl).
12301230

12311231
##### Note
12321232

@@ -15002,7 +15002,7 @@ In this example, `email` will be constructed before `first` and `last` because i
1500215002

1500315003
If the class definition and the constructor body are in separate files, the long-distance influence that the order of member variable declarations has over the constructor's correctness will be even harder to spot.
1500415004

15005-
**References**
15005+
**References**:
1500615006

1500715007
[[Cline99]](#Cline99) §22.03-11, [[Dewhurst03]](Dewhurst03) §52-53, [[Koenig97]](#Koenig97) §4, [[Lakos96]](#Lakos96) §10.3.5, [[Meyers97]](#Meyers97) §13, [[Murray93]](#Murray93) §2.1.3, [[Sutter00]](#Sutter00) §47
1500815008

0 commit comments

Comments
 (0)