std::basic_...tream::rdbuf(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’… NAME

ok so this is std::basic_ispanstream::rdbuf β€” like, literally exactly std::basic_ispanstream::rdbuf. that's the whole name bestie, no notes ✨

(and yeah, we're deep in the C++ Standard Library rn, in case the std:: didn't already give it away πŸŽ€)


πŸ¦‹ SYNOPSIS

std::basic_spanbuf<CharT, Traits>* rdbuf() const noexcept;  (since C++23)

it hands you back a pointer to the wrapped raw device object. that's it. that's the vibe check and it passed 🫢

lowkey important: this one's only been around since C++23, so if your compiler's acting brand new and doesn't know her, that's why 😭

🌸 PARAMETERS

(none)

nothing. zero. nada. she takes no arguments, she's low maintenance, she's an icon πŸ‘‘


⭐ RETURN VALUE

a pointer to the wrapped raw device object. periodt πŸ’…

(type: std::basic_spanbuf<CharT, Traits>*, and yes it's const noexcept because she does not throw and she does not care πŸ”₯)


πŸŽ€ EXAMPLE

This section is incomplete Reason: no example

ngl there's literally no example here 😭 the cppreference girlies left this one as a TODO. so like... no code to show you bestie, we're all just out here raw-dogging the docs together fr fr πŸ™ˆ


🧚 SEE ALSO

  • rdbuf β€” manages associated stream buffer (public member function of std::basic_ios<CharT,Traits>)

different rdbuf, similar energy, she's the main character over in std::basic_ios πŸ’–


πŸ‘‘ CATEGORY:

  • Todo no example

(yes the only category is "we owe you an example" πŸ’€ iconic honestly)


✨ that's the whole page bestie, you ate it up ✨

source: http://cppreference.com 🌈 version dated 2024.06.10 β€” mwah, go compile something cute πŸ’œπŸ¦‹

πŸ“¦ where this page comes from