Merge pull request #218 from Jiwan/Jiwan-change-nullptr-passing-exemple

Fixed minor error in I.12: Declare a pointer that must not be null as not_nul
This commit is contained in:
Gabriel Dos Reis 2015-10-01 03:14:00 -07:00
commit 1ab6344b44

View File

@ -1445,7 +1445,7 @@ Every object passed as a raw pointer (or iterator) is assumed to be owned by the
##### Example ##### 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? length(nullptr); // OK?