STD::_TEMPORARY_BUFFER(3cxx)
π NAME π
okay bestie, this is the 3cxx manual page for std::_Temporary_buffer< _ForwardIterator, _Tp >. Yes, the whole class-template name is the moment π
. It's giving βtemporary buffer, but make it libstdc++,β and we are reading every detail together β no skips, no cap β¨.
π SYNOPSIS π
#include <memory>
Inherited by __gnu_cxx::temporary_buffer< _ForwardIterator, _Tp >.
π Public Types π
typedef pointer iteratortypedef value_type * pointertypedef ptrdiff_t size_typetypedef _Tp value_type
π Public Member Functions π
_Temporary_buffer (_ForwardIterator __seed, size_type __original_len)iterator begin ()βAs per Table mumble.iterator end ()βAs per Table mumble.size_type requested_size () constβ Returns the size requested by the constructor; may be>size().size_type size () constβAs per Table mumble.
π§ Protected Attributes π§
pointer _M_buffersize_type _M_lensize_type _M_original_len
πΈ Detailed Description πΈ
template<typename _ForwardIterator, typename _Tp>
class std::_Temporary_buffer< _ForwardIterator, _Tp >
The lore, verbatim-ish but in my voice: this class is used in two places, stl_algo.h and ext/memory, where it's wrapped as the temporary_buffer class. For more notes, see the temporary_buffer docs. That's the whole tea π«β¨.
π Constructor & Destructor Documentation π
template<typename _ForwardIterator , typename _Tp > std::_Temporary_buffer< _ForwardIterator, _Tp >::_Temporary_buffer (_ForwardIterator __seed, size_type __original_len)
Constructs a temporary buffer of a size somewhere between zero and the given length. It also references std::pair< _T1, _T2 >::first, and std::pair< _T1, _T2 >::second β that's the exact reference note, bestie π.
π Member Function Documentation π
template<typename _ForwardIterator , typename _Tp > iterator std::_Temporary_buffer< _ForwardIterator, _Tp >::begin () [inline]βAs per Table mumble.iconic.template<typename _ForwardIterator , typename _Tp > iterator std::_Temporary_buffer< _ForwardIterator, _Tp >::end () [inline]βAs per Table mumble.also iconic.template<typename _ForwardIterator , typename _Tp > size_type std::_Temporary_buffer< _ForwardIterator, _Tp >::requested_size () const [inline]β Returns the size requested by the constructor; may be>size(). noted, bestie.template<typename _ForwardIterator , typename _Tp > size_type std::_Temporary_buffer< _ForwardIterator, _Tp >::size () const [inline]βAs per Table mumble.we love a consistent note.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. So yes, Doxygen ate that π
.
okay that's the page, bestie β the footer source/version/date sign-off is literally libstd + std::_Temporar...Iterator, _Tp >(3cxx). Mwah, bye π«Άπβ¨
π¦ where this page comes from
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms