-
Type: Bug
-
Resolution: Unresolved
-
Priority: Trivial - P5
-
None
-
Affects Version/s: None
-
Component/s: Tools
-
Storage Engines
-
StorEng - Defined Pipeline
Rule of three
Compiler generated special functions may behave incorrectly if the class requires a user-definition for any of its special functions. This class has user-definitions for at least one but not all of its special functions (copy constructor, copy assignment operator, destructor). If one of these functions requires a user-definition then it is likely all of them should have a definition.
/test/simulator/timestamp/src/include/timestamp_manager.h:38: RULE_OF_ZERO_THREE_FIVE 138963 Class "timestamp_manager" has a user definition for at least one special function (copy constructor, copy assignment, destructor) but not all. If one of these functions requires a user definition then the others likely do as well.
/test/simulator/timestamp/src/include/timestamp_manager.h:65: RULE_OF_ZERO_THREE_FIVE 138963 User-defined copy constructor.
/test/simulator/timestamp/src/include/timestamp_manager.h:66: RULE_OF_ZERO_THREE_FIVE 138963 User-defined copy assignment operator.