STD::RAW_STORAGE_ITERATOR(3)
π std::raw_storage_iterator< _OutputIterator, _Tp > π
okay bestie, we're in the std corner of the library, manual section 3, and this one is libstdc++ coded. pull up a chair, grab a strawberry π, and let's get into it.
β¨ NAME β¨
std::raw_storage_iterator< _OutputIterator, _Tp > β that's the whole name, no notes, periodt. π
πΈ SYNOPSIS πΈ
first things first, you gotta pull it in:
#include <memory>
and lowkey the most important thing: it inherits from std::iterator< output_iterator_tag, void, void, void, void >. like, that's its whole ancestry, that's the bloodline. π
π Public Types π
typedef void difference_typeβ distance between iterators is represented as this type. yep, it'svoid, don't ask, that's just the vibe.typedef output_iterator_tag iterator_categoryβ one of the tag types. it's giving "output iterator", iconic.typedef void pointerβ this type represents a pointer-to-value_type.typedef void referenceβ this type represents a reference-to-value_type.typedef void value_typeβ the type "pointed to" by the iterator.
π¦ Public Member Functions π¦
raw_storage_iterator (_OutputIterator __x)_OutputIterator base () constraw_storage_iterator & operator* ()raw_storage_iterator & operator++ ()raw_storage_iterator operator++ (int)raw_storage_iterator & operator= (_Tp &&__element)raw_storage_iterator & operator= (const _Tp &__element)
π Protected Attributes π
_OutputIterator _M_iter
π Detailed Description π
template<class _OutputIterator, class _Tp>
class std::raw_storage_iterator< _OutputIterator, _Tp >
This iterator class lets algorithms store their results into uninitialized memory. like, raw memory, untouched, no constructor has ever been near it bestie. it's giving main character energy for real fr fr. β¨
π Member Typedef Documentation π
all of these are inherited from std::iterator< output_iterator_tag, void, void, void, void >, so they come as a little matching set, no cap:
typedef void std::iterator< output_iterator_tag, void, void, void, void >::difference_typeβ distance between iterators is represented as this type.typedef output_iterator_tag std::iterator< output_iterator_tag, void, void, void, void >::iterator_categoryβ one of the tag types.typedef void std::iterator< output_iterator_tag, void, void, void, void >::pointerβ this type represents a pointer-to-value_type.typedef void std::iterator< output_iterator_tag, void, void, void, void >::referenceβ this type represents a reference-to-value_type.typedef void std::iterator< output_iterator_tag, void, void, void, void >::value_typeβ the type "pointed to" by the iterator.
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. yes, a robot wrote it, and honestly? it ate. π€π
ngl bestie, if you're reading this in a terminal, you're doing amazing. iykyk. π«Ά
and that's the whole page β sourced from libstdc++, manual section 3, brought to you by Doxygen doing its lil automatic thing. mwah, bye, go write some uninitialized memory. ππ¦π
π¦ 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
- 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