STD::__DETAIL::_QUOTED_STRING(3)
β¨ NAME β¨
std::__detail::_Quoted_string< _String, _CharT > β Struct for delimited strings. π
okay so first things first bestie, the header of this page literally reads std::__det..., _CharT >(3) because somebody out there said "truncate it, it's fine" π and it lives in the Library Functions Manual. The full, un-abbreviated name of the star of the show is std::__detail::_Quoted_string< _String, _CharT >, and it's a struct that holds onto a string plus the two characters that delimit it and escape stuff inside it. That's the whole vibe. It's giving "wrapper". π
πΈ SYNOPSIS πΈ
#include <iomanip>
π Public Member Functions π
_Quoted_string (_String __str, _CharT __del, _CharT __esc)β the constructor, babes. You hand it your string__str, your delimiter__del, and your escape character__esc, and it tucks all three away. π«Ά_Quoted_string & operator= (_Quoted_string &)=deleteβ assignment? deleted. π Not allowed, not happening, the compiler said no. Copy-assigning one of these is a hard no from the language itself.
π Public Attributes π
_CharT _M_delimβ the delimiter character, just vibing out in the open. β¨_CharT _M_escapeβ the escape character, also right there for anyone to see. πΈ_String _M_stringβ and the string itself. The main character, honestly. π
π«Ά Friends π«Ά
these are the operator overloads that get to peek at the private business because they're declared as friends. found family, fr fr. π§
- a friend
operator<<for a generic_String2:
template<typename _CharT2, typename _Traits, typename _String2>
std::basic_ostream< _CharT2, _Traits > & operator<<
(std::basic_ostream< _CharT2, _Traits > &__os, const _Quoted_string<
_String2, _CharT2 > &__str)
- a second friend
operator<<, this one specialised forconst _CharT2 *strings:
template<typename _CharT2, typename _Traits> std::basic_ostream<
_CharT2, _Traits > & operator<< (std::basic_ostream< _CharT2,
_Traits > &__os, const _Quoted_string< const _CharT2 *, _CharT2 >
&__str)
- and a friend
operator>>that reads into abasic_string< _CharT2, _Traits, _Alloc > &:
template<typename _CharT2, typename _Traits, typename _Alloc>
std::basic_istream< _CharT2, _Traits > & operator>>
(std::basic_istream< _CharT2, _Traits > &__is, const _Quoted_string<
basic_string< _CharT2, _Traits, _Alloc > &, _CharT2 > &__str)
π DETAILED DESCRIPTION π
the actual declaration, in all its templated glory:
template<typename _String, typename _CharT>
struct std::__detail::_Quoted_string< _String, _CharT >"Struct for
delimited strings.
and no, the stray " in there is not me being chaotic β that's literally what the page says. we're just quoting the source, bestie. π
So: it's a template<typename _String, typename _CharT> struct, it's a struct for delimited strings, and that's the tea. π
π¦ AUTHOR π¦
Generated automatically by Doxygen for libstdc++ from the source code.
like, nobody hand-wrote this, a robot did it, and honestly? slay. π€β¨
and that's a wrap, my love π this whole page got served to you by libstdc++ under the name std::__det..., _CharT >(3) β yeah, the same truncated title as the top, the docs really committed to that bit π β and there's no date stamped on it anywhere, so we're just gonna pretend it's timeless. iconic behavior. 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
- 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