AutosarC++18_03-A12.8.2ΒΆ
User-defined copy and move assignment operators should use user-defined no-throw swap function
Required inputs: IR
Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
asgn_no_swap |
A move/copy assignment operator shall use a no-throw swap function. |
None |
False |
asgn_not_nothrow |
Used swap function is not no-throw. |
None |
False |
Options
This rule shares the following common options: exclude_in_macros, exclude_messages_in_system_headers, excludes, extend_exclude_to_macro_invocations, includes, justification_checker, languages, post_processing, provider, report_at, severity
The following places define options that affect this rule: Stylechecks, Analysis-GlobalOptions
This rule has no individual options.