Skip to content

Commit 43d1ff9

Browse files
[text.encoding.members] Simplify \tcode{\exposid{name}}
1 parent 64d7728 commit 43d1ff9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

source/locales.tex

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4855,7 +4855,7 @@
48554855
\begin{itemdescr}
48564856
\pnum
48574857
\returns
4858-
\tcode{\exposid{mib_}}.
4858+
\exposid{mib_}.
48594859
\end{itemdescr}
48604860

48614861
\indexlibrarymember{name}{text_encoding}%
@@ -4866,15 +4866,15 @@
48664866
\begin{itemdescr}
48674867
\pnum
48684868
\returns
4869-
\tcode{\exposid{name_}} if \tcode{(\exposid{name_}[0] != '\textbackslash 0')}
4869+
\exposid{name_} if \tcode{(\exposid{name_}[0] != '\textbackslash 0')}
48704870
is \tcode{true}, and
48714871
\keyword{nullptr} otherwise.
48724872

48734873
\pnum
48744874
\remarks
48754875
If \tcode{name() == nullptr} is \tcode{false},
48764876
\tcode{name()} is an \ntbs{} and
4877-
accessing elements of \tcode{\exposid{name_}}
4877+
accessing elements of \exposid{name_}
48784878
outside of the range \countedrange{name()}{strlen(name()) + 1}
48794879
is undefined behavior.
48804880
\end{itemdescr}

0 commit comments

Comments
 (0)