Skip to content

Commit 7a4324c

Browse files
jwakelytkoeppe
authored andcommitted
[char.traits.require] use nullptr for null pointer constant
1 parent 25bb0a2 commit 7a4324c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/strings.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@
151151
\tcode{X::find(p,n,c)} & \tcode{const X::char_type*} &
152152
\returns
153153
the smallest \tcode{q} in \tcode{[p,p+n)} such that
154-
\tcode{X::eq(*q,c)} is \tcode{true}, zero otherwise. & linear \\ \rowsep
154+
\tcode{X::eq(*q,c)} is \tcode{true}, \tcode{nullptr} otherwise. & linear \\ \rowsep
155155
\tcode{X::move(s,p,n)} & \tcode{X::char_type*} &
156156
for each \tcode{i} in \tcode{[0,n)}, performs \tcode{X::assign(s[i],p[i])}.
157157
Copies correctly even where the ranges \tcode{[p,p+n)} and \tcode{[s,s+n)} overlap.\br \returns \tcode{s}. & linear \\ \rowsep

0 commit comments

Comments
 (0)