mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
@@ -4290,8 +4290,8 @@ Make sure that every member of the derived class is initialized.
|
|||||||
|
|
||||||
## <a name="SS-copy"></a> C.copy: Copy and move
|
## <a name="SS-copy"></a> C.copy: Copy and move
|
||||||
|
|
||||||
Value type should generally be copyable, but interfaces in a class hierarchy should not.
|
Value types should generally be copyable, but interfaces in a class hierarchy should not.
|
||||||
Resource handles, may or may not be copyable.
|
Resource handles may or may not be copyable.
|
||||||
Types can be defined to move for logical as well as performance reasons.
|
Types can be defined to move for logical as well as performance reasons.
|
||||||
|
|
||||||
### <a name="Rc-copy-assignment"></a> C.60: Make copy assignment non-`virtual`, take the parameter by `const&`, and return by non-`const&`
|
### <a name="Rc-copy-assignment"></a> C.60: Make copy assignment non-`virtual`, take the parameter by `const&`, and return by non-`const&`
|
||||||
|
|||||||
Reference in New Issue
Block a user