diff --git a/talk/morelanguage/initialization.tex b/talk/morelanguage/initialization.tex index aa683f0a..ceeca545 100644 --- a/talk/morelanguage/initialization.tex +++ b/talk/morelanguage/initialization.tex @@ -160,7 +160,7 @@ \item Unless \cppinline{T} has a \cppinline{std::initializer_list} constructor that you do not want to call! \item Be wary of \cppinline{std::vector}! \end{itemize} - \item The STL value initializes when creating new user objects + \item The STL uses value inititalisation when resizing containers \begin{itemize} \item E.g. \cppinline{vec.resize(vec.size() + 10);} \end{itemize}