mirror of
https://github.com/boostorg/container.git
synced 2026-01-19 04:02:17 +00:00
Merge pull request #319 from m4xG4/static_vector_clear_doc
fixed complexity documentation for static_vector clear
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user