mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Merge pull request #229 from david-mitchell/patch-11
Add missing punctuation.
This commit is contained in:
@@ -2973,7 +2973,7 @@ These operations disagree about copy semantics. This will lead to confusion and
|
||||
|
||||
## <a name="SS-dtor"></a> C.dtor: Destructors
|
||||
|
||||
Does this class need a destructor is a surprisingly powerful design question.
|
||||
"Does this class need a destructor?" is a surprisingly powerful design question.
|
||||
For most classes the answer is "no" either because the class holds no resources or because destruction is handled by [the rule of zero](#Rc-zero);
|
||||
that is, its members can take care of themselves as concerns destruction.
|
||||
If the answer is "yes", much of the design of the class follows (see [the rule of five](#Rc-five).
|
||||
|
||||
Reference in New Issue
Block a user