MISRAC++2023-15.0.1 (C++ only)
In this section:
Synopsis
(Required) Special member functions shall be provided appropriately
Enabled by default
Yes
Severity/Certainty
Medium/Medium

Full description
Which user-declared special member functions suppress which of any compiler generated functions can be subtle due to language rules and may produce semantically unsound combinations.
Coding standards
This check does not correspond to any coding standard rules.
Code examples
The following code example fails the check and will give a warning:
void example(){}
The following code example passes the check and will not give a warning about this issue:
void example(){}