Lines Matching refs:constructors
1353 Constructors, copy/move constructors, copy/move assignment operators, and destructors provide lifet…
1407 …constructors, or C++ 11 is not supported, the constructor initialization list is used preferential…
1414 msgBuffer = NULL; // Bad: Values cannot be assigned in constructors.
1424 ### Rule 7.1.2 Declare single-parameter constructors as explicit to prevent implicit conversion.
1451 …idden, due to unexpected type conversion. Therefore, single-parameter constructors require explici…
1453 ### Rule 7.1.3 If copy/move constructors and copy/move assignment operators are not needed, clearly…
1454 …ot define it, the compiler will generate copy constructors and copy assignment operators, move con…
1455 If we do not use copy constructors or copy assignment operators, explicitly delete them.
1457 1. Set copy constructors or copy assignment operators to private and do not implement them.
1490 ### Rule 7.1.4 Copy constructors and copy assignment operators should be implemented or forbidden t…
1491 Both copy constructors and copy assignment operators provide copy semantics. They should be impleme…
1518 ### Rule 7.1.5 Move constructors and move assignment operators should be implemented or hidden toge…
1519 …in C++ 11. If a class is required to support the move operation, move constructors and move assign…
1521 Both move constructors and move assignment operators provide move semantics. They should be impleme…
1547 ### Rule 7.1.6 It is prohibited to call virtual functions in constructors and destructors.
1579 ### Rule 7.1.7 The copy constructors, copy assignment operators, move constructors, and move assign…
1612 Set copy constructors or copy assignment operators to **private** and do not implement them.
2014 …nd object-oriented features cannot be used (for example, user-defined constructors, assignment ope…
2742 … but they require extra resource overheads. For example, the classes, constructors, and destructor…