Skip to content

Commit fc9599a

Browse files
cpplearnertkoeppe
authored andcommitted
[utility] Change 'nonzero' to more appropriate words. (#1575)
1 parent 5d438d2 commit fc9599a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/utilities.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6474,7 +6474,7 @@
64746474
\effects
64756475
Stores a new value in the bit at position \tcode{pos} in
64766476
\tcode{*this}.
6477-
If \tcode{val} is nonzero, the stored value is one, otherwise it is zero.
6477+
If \tcode{val} is \tcode{true}, the stored value is one, otherwise it is zero.
64786478

64796479
\pnum
64806480
\returns
@@ -10356,7 +10356,7 @@
1035610356
\returns
1035710357
\begin{itemize}
1035810358
\item When \tcode{dynamic_cast<typename shared_ptr<T>::element_type*>(r.get())}
10359-
returns a nonzero value \tcode{p}, \tcode{shared_ptr<T>(r, p)}.
10359+
returns a non-null value \tcode{p}, \tcode{shared_ptr<T>(r, p)}.
1036010360
\item Otherwise, \tcode{shared_ptr<T>()}.
1036110361
\end{itemize}
1036210362

0 commit comments

Comments
 (0)