mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Updated example of enforcement suppression.
This commit is contained in:
parent
5408dd3e75
commit
c6f8afc931
|
@ -269,7 +269,7 @@ We do not limit our comment in the **Enforcement** sections to things we know ho
|
|||
|
||||
Tools that implement these rules shall respect the following syntax to explicitly suppress a rule:
|
||||
|
||||
[[suppress(tag)]]
|
||||
[[gsl::suppress(tag)]]
|
||||
|
||||
where "tag" is the anchor name of the item where the Enforcement rule appears (e.g., for [C.134](#Rh-public) it is "Rh-public"), the
|
||||
name of a profile group-of-rules ("type", "bounds", or "lifetime"),
|
||||
|
|
Loading…
Reference in New Issue
Block a user