STD::__PROFILE::DEQUE(3cxx)

πŸ“¦
version 9.5.0 Β· 3 versions
, in ubuntu noble

πŸ’– NAME πŸ’–

std::__profile::deque< _Tp, _Allocator > β€” bestie, it's a std::deque wrapper with performance instrumentation. Yes, the whole thing. She's a deque, but she's ✨being watched✨.

This page lives in section 3cxx of the manual, iykyk.


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <deque>

Inherits deque< _Tp, std::allocator< _Tp > >.

🌸 Public Types 🌸

  • typedef _Base::size_type size_type
  • typedef _Base::value_type value_type

πŸŽ€ Public Member Functions πŸŽ€

  • template<typename _InputIterator , typename = std::_RequireInputIter<_InputIterator>> deque (_InputIterator __first, _InputIterator __last, const _Allocator &__a=_Allocator())
  • deque (const _Allocator &__a)
  • deque (const _Base &__x)
  • deque (const deque &)=default
  • deque (const deque &__d, const _Allocator &__a)
  • deque (deque &&)=default
  • deque (deque &&__d, const _Allocator &__a)
  • deque (initializer_list< value_type > __l, const _Allocator &__a=_Allocator())
  • deque (size_type __n, const _Allocator &__a=_Allocator())
  • deque (size_type __n, const _Tp &__value, const _Allocator &__a=_Allocator())
  • const _Base & _M_base () const noexcept
  • _Base & _M_base () noexcept
  • deque & operator= (const deque &)=default
  • deque & operator= (deque &&)=default
  • deque & operator= (initializer_list< value_type > __l)
  • void swap (deque &__x) noexcept(/*conditional */)

🌈 Detailed Description 🌈

template<typename _Tp, typename _Allocator = std::allocator<_Tp>>
    class std::__profile::deque< _Tp, _Allocator >

"Class std::deque wrapper with performance instrumentation."

That's the whole vibe. It's a deque wearing a little fitness tracker. πŸ’…

Definition at line 40 of file profile/deque.

⭐ Member Typedef Documentation ⭐

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
typedef _Base::size_type std::__profile::deque< _Tp, _Allocator >::size_type

Definition at line 46 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
typedef _Base::value_type std::__profile::deque< _Tp, _Allocator >::value_type

Definition at line 47 of file profile/deque.

Two typedefs, both just borrowed straight from _Base, no cap. 🫢


🧚 Constructor & Destructor Documentation 🧚

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
std::__profile::deque< _Tp, _Allocator >::deque (const deque< _Tp,
_Allocator > & __d, const _Allocator & __a) [inline]

Definition at line 63 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
std::__profile::deque< _Tp, _Allocator >::deque (deque< _Tp, _Allocator
> && __d, const _Allocator & __a) [inline]

Definition at line 66 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
std::__profile::deque< _Tp, _Allocator >::deque (initializer_list<
value_type > __l, const _Allocator & __a = _Allocator()) [inline]

Definition at line 71 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
std::__profile::deque< _Tp, _Allocator >::deque (const _Allocator & __a)
[inline],  [explicit]

Definition at line 77 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
std::__profile::deque< _Tp, _Allocator >::deque (size_type __n, const
_Allocator & __a = _Allocator()) [inline],  [explicit]

Definition at line 82 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
std::__profile::deque< _Tp, _Allocator >::deque (size_type __n, const
_Tp & __value, const _Allocator & __a = _Allocator()) [inline]

Definition at line 85 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
template<typename _InputIterator , typename  =
std::_RequireInputIter<_InputIterator>> std::__profile::deque< _Tp,
_Allocator >::deque (_InputIterator __first, _InputIterator __last,
const _Allocator & __a = _Allocator()) [inline]

Definition at line 101 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>>
std::__profile::deque< _Tp, _Allocator >::deque (const _Base & __x)
[inline]

Definition at line 106 of file profile/deque.

Not me listing every single constructor πŸ’€ β€” there are a LOT of ways to be born and I'm not skipping a single one, periodt.

πŸ”₯ Member Function Documentation πŸ”₯

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>> const
_Base & std::__profile::deque< _Tp, _Allocator >::_M_base () const
[inline],  [noexcept]

Definition at line 140 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>> _Base &
std::__profile::deque< _Tp, _Allocator >::_M_base () [inline],
[noexcept]

Definition at line 137 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>> deque &
std::__profile::deque< _Tp, _Allocator >::operator= (initializer_list<
value_type > __l) [inline]

Definition at line 124 of file profile/deque.

template<typename _Tp , typename _Allocator  = std::allocator<_Tp>> void
std::__profile::deque< _Tp, _Allocator >::swap (deque< _Tp, _Allocator >
& __x) [inline],  [noexcept]

Definition at line 132 of file profile/deque.

_M_base() is giving "let me show you my true self" energy β€” one const noexcept version and one non-const noexcept version, both iconic. πŸ‘‘


πŸ’œ Author πŸ’œ

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


okay that's the whole page, bestie, you ate that πŸ“βœ¨ This little masterpiece is from libstdc++, and yeah, the source line at the bottom of the page is just that same mangled title trailing along behind it like a lil shadow. Go forth and profile your deques responsibly πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from