mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2024-03-22 13:30:58 +08:00
Fixed a minor error in an example in I.12.
This commit is contained in:
parent
cda8d7ad5c
commit
e41b65cca1
|
@ -1312,7 +1312,7 @@ That is, its value must be `delete`d or transferred to another owner, as is done
|
|||
|
||||
**Example**:
|
||||
|
||||
int length(const char* p); // it is not clear whether strlen(nullptr) is valid
|
||||
int length(const char* p); // it is not clear whether length(nullptr) is valid
|
||||
|
||||
length(nullptr); // OK?
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user