mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-18 13:14:40 +03:00
Extended Type.8 enforcement per issue #348
This commit is contained in:
@@ -12493,7 +12493,7 @@ Note: Declaring a `...` parameter is sometimes useful for techniques that don't
|
|||||||
##### Enforcement
|
##### 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 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
|
## <a name="SS-bounds"></a> Bounds safety profile
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user