Merge pull request #1202 from gumb0/patch-1

Remove unnecessary comments from C.42 examples
pull/1208/head
Gabriel Dos Reis 8 years ago committed by GitHub
commit 46ecdd6830
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -5066,7 +5066,7 @@ Leaving behind an invalid object is asking for trouble.
##### Example
class X2 {
FILE* f; // call init() before any other function
FILE* f;
// ...
public:
X2(const string& name)
@ -5090,7 +5090,7 @@ Leaving behind an invalid object is asking for trouble.
##### Example, bad
class X3 { // bad: the constructor leaves a non-valid object behind
FILE* f; // call init() before any other function
FILE* f; // call is_valid() before any other function
bool valid;
// ...
public:

Loading…
Cancel
Save