__gnu_debug::_Safe_vector(3cxx)

__gnu_debug::_Safe_vector3cxx

Base class for debug mode vector.

Usage

#include <vector>

Inherited by std::__debug::vector< _Tp, _Allocator >.

Protected Member Functions

_Safe_vector (_Safe_vector &&__x) noexcept
_Safe_vector (const _Safe_vector &) noexcept
_Safe_vector (size_type __n) noexcept
bool _M_requires_reallocation (size_type __elements) const noexcept
void _M_update_guaranteed_capacity () noexcept
_Safe_vector & operator= (_Safe_vector &&__x) noexcept
_Safe_vector & operator= (const _Safe_vector &) noexcept

Protected Attributes

size_type _M_guaranteed_capacity

Detailed Description

template<typename _SafeSequence, typename _BaseSequence>

class __gnu_debug::_Safe_vector< _SafeSequence, _BaseSequence >"Base class for Debug Mode vector.

Adds information about the guaranteed capacity, which is useful for detecting code which relies on non-portable implementation details of the libstdc++ reallocation policy.

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.