Skip to content

Commit

Permalink
Clarify clear() does not alter capacith()
Browse files Browse the repository at this point in the history
  • Loading branch information
igaztanaga committed Jun 4, 2024
1 parent aa35950 commit 24c978b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/boost/container/vector.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2248,7 +2248,7 @@ class vector

#endif //#ifndef BOOST_CONTAINER_DOXYGEN_INVOKED

//! <b>Effects</b>: Erases all the elements of the vector.
//! <b>Effects</b>: Erases all the elements of the vector. Leaves the capacity() of the vector unchanged.
//!
//! <b>Throws</b>: Nothing.
//!
Expand Down

0 comments on commit 24c978b

Please sign in to comment.