diff --git a/source/algorithms.tex b/source/algorithms.tex index a8c3809b34..27ec1d5832 100644 --- a/source/algorithms.tex +++ b/source/algorithms.tex @@ -11156,6 +11156,16 @@ are destroyed in an unspecified order before allowing the exception to propagate. +\pnum +\begin{note} +When new objects are created by +the algorithms specified in \ref{specialized.algorithms}, +the lifetime ends for any existing objects +(including potentially-overlapping subobjects \ref{intro.object}) +in storage that is reused \ref{basic.life}. +Subsequent operations on these objects can result in undefined behavior. +\end{note} + \pnum Some algorithms specified in \ref{specialized.algorithms} make use of the exposition-only function template