Fix documented Complexity of static_vector::reserve

This commit is contained in:
Dmitriy Babkov
2021-09-14 16:19:56 +03:00
parent bcd41a1c64
commit 2077adb0bc

View File

@@ -536,7 +536,7 @@ public:
//! Nothing. //! Nothing.
//! //!
//! @par Complexity //! @par Complexity
//! Linear O(N). //! Constant O(1).
void reserve(size_type count) BOOST_NOEXCEPT_OR_NOTHROW; void reserve(size_type count) BOOST_NOEXCEPT_OR_NOTHROW;
//! @pre <tt>size() < capacity()</tt> //! @pre <tt>size() < capacity()</tt>