mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Extended Type.8 enforcement per issue #348
This commit is contained in:
parent
b16ef02365
commit
936d321266
|
@ -12493,7 +12493,7 @@ Note: Declaring a `...` parameter is sometimes useful for techniques that don't
|
|||
##### Enforcement
|
||||
|
||||
* Issue a diagnostic for using `va_list`, `va_start`, or `va_arg`. To fix: Use a variadic template parameter list instead.
|
||||
* Issue a diagnostic for passing an argument to a vararg parameter. To fix: Use a different function, or `[[suppress(types)]]`.
|
||||
* Issue a diagnostic for passing an argument to a vararg parameter of a function that does not offer an overload for a more specific type in the position of the vararg. To fix: Use a different function, or `[[suppress(types)]]`.
|
||||
|
||||
## <a name="SS-bounds"></a> Bounds safety profile
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user