From 24c978b550dcdfcca7a07efc4ce33235ff46e9ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ion=20Gazta=C3=B1aga?= Date: Tue, 4 Jun 2024 14:00:31 +0200 Subject: [PATCH] Clarify clear() does not alter capacith() --- include/boost/container/vector.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/container/vector.hpp b/include/boost/container/vector.hpp index a6e2f49..05122a6 100644 --- a/include/boost/container/vector.hpp +++ b/include/boost/container/vector.hpp @@ -2248,7 +2248,7 @@ private: #endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED - //! Effects: Erases all the elements of the vector. + //! Effects: Erases all the elements of the vector. Leaves the capacity() of the vector unchanged. //! //! Throws: Nothing. //!