Skip to content

Commit afa6f73

Browse files
authored
formatting: Updates to I.4 (isocpp#1891)
1 parent ead6021 commit afa6f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CppCoreGuidelines.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1432,7 +1432,7 @@ Consider:
14321432

14331433
Callers are unsure what types are allowed and if the data may
14341434
be mutated as `const` is not specified. Note all pointer types
1435-
implicitly convert to void*, so it is easy for callers to provide this value.
1435+
implicitly convert to `void*`, so it is easy for callers to provide this value.
14361436

14371437
The callee must `static_cast` data to an unverified type to use it.
14381438
That is error-prone and verbose.
@@ -1479,7 +1479,7 @@ This design is more explicit, safe and legible:
14791479
s.frequency = alarm_settings::every_10_seconds;
14801480
set_settings(s);
14811481

1482-
For the case of a set of boolean values consider using a flags enum; a pattern that expresses a set of boolean values.
1482+
For the case of a set of boolean values consider using a flags `enum`; a pattern that expresses a set of boolean values.
14831483

14841484
enable_lamp_options(lamp_option::on | lamp_option::animate_state_transitions);
14851485

0 commit comments

Comments
 (0)