mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 20:54:41 +03:00
Fix typo.
This commit is contained in:
@@ -3532,7 +3532,7 @@ The idiom of having constructors acquire resources and destructors release them
|
|||||||
|
|
||||||
class X3 { // bad: the constructor leaves a non-valid object behind
|
class X3 { // bad: the constructor leaves a non-valid object behind
|
||||||
FILE* f; // call init() before any other function
|
FILE* f; // call init() before any other function
|
||||||
bool valid;;
|
bool valid;
|
||||||
// ...
|
// ...
|
||||||
public:
|
public:
|
||||||
X3(const string& name)
|
X3(const string& name)
|
||||||
|
|||||||
Reference in New Issue
Block a user