misc-move-constructor-init¶
“cert-oop11-cpp” redirects here as an alias for this checker.
The check flags user-defined move constructors that have a ctor-initializer initializing a member or base class through a copy constructor instead of a move constructor.
It also flags constructor arguments that are passed by value, have a non-deleted move-constructor and are assigned to a class field by copy construction.