mirror of
https://github.com/isocpp/CppCoreGuidelines.git
synced 2025-12-17 12:44:42 +03:00
Fixed a minor error in an example in I.12.
This commit is contained in:
@@ -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?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user