Skip to content

Commit 74e7d02

Browse files
burblebeetkoeppe
authored andcommitted
LWG4064 Clarify that std::launder is not needed when using the result of std::memcpy
1 parent 3cc947b commit 74e7d02

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
@@ -5515,9 +5515,11 @@
55155515
\indextext{signal-safe!\idxcode{memcpy}}%
55165516
\indextext{signal-safe!\idxcode{memmove}}%
55175517
The functions \tcode{memcpy} and \tcode{memmove} are signal-safe\iref{support.signal}.
5518-
Both functions implicitly create objects\iref{intro.object}
5518+
Each of these functions implicitly creates objects\iref{intro.object}
55195519
in the destination region of storage
55205520
immediately prior to copying the sequence of characters to the destination.
5521+
Each of these functions returns a pointer to a suitable created object, if any,
5522+
otherwise the value of the first parameter.
55215523

55225524
\pnum
55235525
\begin{note}

0 commit comments

Comments
 (0)