Skip to content

Commit d4bc54f

Browse files
committed
Harmonize index entries for 'null pointer value'. [reported upstream: cplusplus#1487]
1 parent d79e60f commit d4bc54f

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

source/basic.tex

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4013,7 +4013,8 @@
40134013
\item
40144014
a \defn{pointer past the end of} an object (\ref{expr.add}), or
40154015
\item
4016-
the \defn{null pointer value} (\ref{conv.ptr}) for that type, or
4016+
\indextext{null pointer value|see{value, null pointer}}
4017+
the \defnx{null pointer value}{value!null pointer} (\ref{conv.ptr}) for that type, or
40174018
\item
40184019
an \defn{invalid pointer value}.
40194020
\end{itemize}

source/conversions.tex

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -491,12 +491,11 @@
491491
\indextext{conversion!pointer}%
492492
\indextext{pointer!zero}%
493493
\indextext{constant!null pointer}%
494-
\indextext{value!null pointer}%
495494
A \term{null pointer constant} is an integer literal~(\ref{lex.icon}) with
496495
value zero
497496
or a prvalue of type \tcode{std::nullptr_t}. A null pointer constant can be
498497
converted to a pointer type; the
499-
result is the \term{null pointer value} of that type and is
498+
result is the \defnx{null pointer value}{value!null pointer} of that type and is
500499
distinguishable from every other value of
501500
object pointer or function pointer
502501
type.

0 commit comments

Comments
 (0)