__GNU_DEBUG::_SAFE_CONTAINER(3cxx)

okay so bestie, welcome to the 3cxx manual page for __gnu_debug::_Safe_container< _SafeContainer, _Alloc, _SafeBase, _IsCxx11AllocatorAware >. The header title is giving truncated __gnu_debug::_...llocatorAware > energy, and the manual name is 3cxx β€” folding that in right here instead of copying the whole header line. πŸ’…

πŸ’– NAME πŸ’–

__gnu_debug::_Safe_container< _SafeContainer, _Alloc, _SafeBase, _IsCxx11AllocatorAware > β€” Safe class dealing with some allocator dependent operations. That's the whole name vibe. 🫢

✨ SYNOPSIS ✨

okay so include this header, bestie:

#include <safe_container.h>

It inherits _SafeBase< _SafeContainer >. No cap.

And it's inherited by all these debug-mode icons:

  • __gnu_debug::basic_string< _CharT, _Traits, _Allocator >
  • std::__debug::deque< _Tp, _Allocator >
  • std::__debug::forward_list< _Tp, _Alloc >
  • std::__debug::list< _Tp, _Allocator >
  • std::__debug::map< _Key, _Tp, _Compare, _Allocator >
  • std::__debug::multimap< _Key, _Tp, _Compare, _Allocator >
  • std::__debug::multiset< _Key, _Compare, _Allocator >
  • std::__debug::set< _Key, _Compare, _Allocator >
  • std::__debug::unordered_map< _Key, _Tp, _Hash, _Pred, _Alloc >
  • std::__debug::unordered_multimap< _Key, _Tp, _Hash, _Pred, _Alloc >
  • std::__debug::unordered_multiset< _Value, _Hash, _Pred, _Alloc >
  • std::__debug::unordered_set< _Value, _Hash, _Pred, _Alloc >
  • std::__debug::vector< _Tp, _Allocator >

πŸ›‘οΈ Protected Member Functions πŸ›‘οΈ

These are the protected member functions, exact signatures only, because we do not mess with the API:

  • _Safe_container (_Safe_container &&)=default β€” protected move constructor, defaulted.
  • constexpr _Safe_container (_Safe_container &&__x, const _Alloc &__a) β€” protected constexpr move-with-allocator constructor.
  • _Safe_container (const _Safe_container &)=default β€” protected copy constructor, defaulted.
  • constexpr void _M_swap (_Safe_container &__x) noexcept β€” protected constexpr swap, noexcept.
  • constexpr _Safe_container & operator= (_Safe_container &&__x) noexcept β€” protected constexpr move assignment, noexcept.
  • constexpr _Safe_container & operator= (const _Safe_container &) noexcept β€” protected constexpr copy assignment, noexcept.

🌸 Detailed Description 🌸

Here's the template tea, bestie:

template<typename _SafeContainer, typename _Alloc, template< typename >
    class _SafeBase, bool _IsCxx11AllocatorAware = true>

And the class itself is:

class __gnu_debug::_Safe_container< _SafeContainer, _Alloc, _SafeBase,
    _IsCxx11AllocatorAware >

The description says, and I quote: "Safe class dealing with some allocator dependent operations." So it's the safe-container class for allocator-dependent operations, periodt. 🧚

🫢 Author 🫢

Generated automatically by Doxygen for libstdc++ from the source code. The robot did it, not me. πŸ’…


That's the whole page, bestie πŸ’– β€” footer/source/version tea: the footer's truncated source bit is libstd and the author line says libstdc++; manual name 3cxx; the original doesn't show a date, so there's no date to report. Doxygen auto-generated it, and that's the sign-off. πŸŽ€