Merge pull request #319 from m4xG4/static_vector_clear_doc

fixed complexity documentation for static_vector clear
This commit is contained in:
Ion Gaztañaga
2025-09-18 22:26:38 +02:00
committed by GitHub

View File

@@ -820,7 +820,8 @@ public:
//! Nothing.
//!
//! @par Complexity
//! Constant O(1).
//! @li If \c is_trivially_destructible<T>::value is \c true Constant O(1).
//! @li If \c is_trivially_destructible<T>::value is \c false Linear O(N).
void clear() BOOST_NOEXCEPT_OR_NOTHROW;
//! @pre <tt>i < size()</tt>