Skip to content

Commit a77c52d

Browse files
committed
LWG4064 Clarify that std::launder is not needed when using the result of std::memcpy
1 parent 60e8aa7 commit a77c52d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

source/strings.tex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5514,9 +5514,11 @@
55145514
\indextext{signal-safe!\idxcode{memcpy}}%
55155515
\indextext{signal-safe!\idxcode{memmove}}%
55165516
The functions \tcode{memcpy} and \tcode{memmove} are signal-safe\iref{support.signal}.
5517-
Both functions implicitly create objects\iref{intro.object}
5517+
Each of these functions implicitly creates objects\iref{intro.object}
55185518
in the destination region of storage
55195519
immediately prior to copying the sequence of characters to the destination.
5520+
Each of these functions returns a pointer to a suitable created object, if any,
5521+
otherwise the value of the first parameter.
55205522

55215523
\pnum
55225524
\begin{note}

0 commit comments

Comments
 (0)