AutosarC++19_03-A11.0.1¶
A non-POD type should be defined as class
Required inputs: IR
public in struct, private in class).Possible Messages
Key |
Text |
Severity |
Disabled |
|---|---|---|---|
cpp_struct |
Use of struct in C++ unit. |
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
allow_deleted_default_constructor_for_pod¶
allow_deleted_default_constructor_for_pod : bool = True
require_class_for_pod¶
require_class_for_pod : bool = False