Skip to content

Commit 156b953

Browse files
committed
fixups: typo and clarified basic.compound.invalid.pointer
1 parent 4dd7d1d commit 156b953

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

source/ub.tex

+5-2
Original file line numberDiff line numberDiff line change
@@ -311,8 +311,11 @@
311311
\ubxref{basic.compound.invalid.pointer] \\
312312
Indirection or
313313
the invocation of a deallocation function
314-
with an invalid pointer value
314+
with a pointer value referencing storage
315+
that has been freed
315316
has undefined behavior.
317+
(Most other uses of such a pointer have
318+
implemention-defined behavior.)
316319

317320
\pnum
318321
\begin{example}
@@ -632,7 +635,7 @@
632635

633636
\pnum
634637
\ubxref{conv.member.missing.member} \\
635-
The conversino of
638+
The conversion of
636639
a pointer to a member of a base class
637640
to a pointer to member of a derived class
638641
that coudl not contain that member

0 commit comments

Comments
 (0)