__GNU_CXX::_TEMPORARY_BUFFER(3)
π NAME π
__gnu_cxx::_Temporary_buffer< _ForwardIterator, _Tp > β bestie, it's a temporary buffer class, and it's literally right there in the __gnu_cxx namespace, section 3 of your Library Functions Manual (libstdc++ edition, iykyk) π«Ά
β¨ SYNOPSIS β¨
#include <stl_tempbuf.h>
Inherited by __gnu_cxx::temporary_buffer< _ForwardIterator, _Tp >. Yes she has a whole daughter class, main character energy runs in the family π
π Public Types π
typedef pointer iteratorβ the iterator type is a pointer, periodttypedef value_type * pointerβ pointer to the value type, exactly what it says on the tintypedef ptrdiff_t size_typeβ sizes areptrdiff_taround heretypedef _Tp value_typeβ the value type is_Tp, no notes
πΈ Public Member Functions πΈ
_Temporary_buffer (_ForwardIterator __seed, size_type __original_len)β the constructor, takes a seed iterator and an original lengthsize_type _M_requested_size () constβ returns the size requested by the constructor; may be>size()(yes, she can ask for more than she gives, that's the vibe)iterator begin ()β As per Table mumble.iterator end ()β As per Table mumble.size_type size () constβ As per Table mumble.
π¦ Protected Attributes π¦
struct std::_Temporary_buffer::_Impl _M_implβ the impl struct, protected, not for your eyes bestie πsize_type _M_original_lenβ the original length, kept safe
π Detailed Description π
template<typename _ForwardIterator, typename _Tp>
class __gnu_cxx::_Temporary_buffer< _ForwardIterator, _Tp >
"This class is used in two places: stl_algo.h and ext/memory, where it is wrapped as the temporary_buffer class. See temporary_buffer docs for more notes.
π 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. Lowkey flexible, highkey iconic β a range from nothing to everything, no cap β¨
π Member Function Documentation π
template<typename _ForwardIterator, typename _Tp>
size_type
std::_Temporary_buffer< _ForwardIterator, _Tp >::_M_requested_size () const [inline]
Returns the size requested by the constructor; may be >size(). So she remembers what you asked for even if she gave you less β obsessed π«Ά
template<typename _ForwardIterator, typename _Tp>
iterator
std::_Temporary_buffer< _ForwardIterator, _Tp >::begin () [inline]
As per Table mumble.
template<typename _ForwardIterator, typename _Tp>
iterator
std::_Temporary_buffer< _ForwardIterator, _Tp >::end () [inline]
As per Table mumble.
template<typename _ForwardIterator, typename _Tp>
size_type
std::_Temporary_buffer< _ForwardIterator, _Tp >::size () const [inline]
As per Table mumble.
"Table mumble" is genuinely what the docs say, bestie. We don't know what Table mumble is. We respect Table mumble. π
β Author β
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, not a vibe, just a build step doing her thing π€β¨
And that's the whole page, babe β straight out of the Library Functions Manual for libstdc++, section 3, __gnu_cxx:...ator, _Tp >(3). Doxygen made her, libstdc++ claims her, and she ate. Periodt. πππ¦
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- centos-stream 10: gcc-toolset-16-libstdc++-docs 16.2.1-1.3.el10 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms