mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
C40: correct enforcement wording
This commit is contained in:
parent
9aa9f290e2
commit
537e15d0af
|
@ -3807,7 +3807,7 @@ Also, the default for `int` would be better done as a [member initializer](#Rc-i
|
||||||
|
|
||||||
##### Enforcement
|
##### Enforcement
|
||||||
|
|
||||||
* Flag classes with user-define copy operations but no destructor (a user-defined copy is a good indicator that the class has an invariant)
|
* Flag classes with user-define copy operations but no constructor (a user-defined copy is a good indicator that the class has an invariant)
|
||||||
|
|
||||||
### <a name="Rc-complete"></a> C.41: A constructor should create a fully initialized object
|
### <a name="Rc-complete"></a> C.41: A constructor should create a fully initialized object
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user