We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05675f7 commit 17191ecCopy full SHA for 17191ec
source/utilities.tex
@@ -5114,11 +5114,12 @@
5114
5115
\pnum
5116
Implementations should avoid the use of dynamically allocated memory for a small contained value.
5117
+However, any such small-object optimization shall only be applied to types \tcode{T} for which
5118
+\tcode{is_nothrow_move_constructible_v<T>} is \tcode{true}.
5119
\begin{example}
-where the object constructed is holding only an \tcode{int}.
5120
+A contained value of type \tcode{int} could be stored in an internal buffer,
5121
+not in separately-allocated memory.
5122
\end{example}
-Such small-object optimization shall only be applied to types \tcode{T} for which
-\tcode{is_nothrow_move_constructible_v<T>} is \tcode{true}.
5123
5124
\rSec3[any.cons]{Construction and destruction}
5125
0 commit comments