I.12: use a const string as mentioned in the text

This commit is contained in:
Timm Knape 2023-09-18 19:40:08 +02:00 committed by GitHub
parent b43874936f
commit 5eb1467d5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1928,7 +1928,7 @@ The assumption that the pointer to `char` pointed to a C-style string (a zero-te
// we can assume that p cannot be nullptr
// we can assume that p points to a zero-terminated array of characters
int length(not_null<zstring> p);
int length(not_null<czstring> p);
Note: `length()` is, of course, `std::strlen()` in disguise.