std::basic_fstream::rdbuf(3)

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

πŸ’… std::basic_fstream::rdbuf πŸ’…

okay so bestie, this page is from the C++ Standard Libary, and we're talking about the rdbuf member of std::basic_fstream. It's lowkey the raw-file-device reveal, and it's giving "look behind the curtain" energy. 🫢


✨ NAME ✨

std::basic_fstream::rdbuf β€” and fr fr, the original NAME line is std::basic_fstream::rdbuf - std::basic_fstream::rdbuf, so yes, she said it twice. iconic. πŸ’–

πŸ¦‹ SYNOPSIS πŸ¦‹

std::basic_filebuf<CharT, Traits>* rdbuf() const;  (since C++11)

Returns pointer to the underlying raw file device object. that's the whole vibe, and it's been around since C++11, no cap. ✨

🌸 PARAMETERS 🌸

(none) β€” literally zero parameters, not a single one. no-arg main character energy. πŸ’…

πŸ‘‘ RETURN VALUE πŸ‘‘

Pointer to the underlying raw file device. that's it, that's the tea. πŸ“

πŸŽ€ EXAMPLE πŸŽ€

This section is incomplete β€” the page itself says This section is incomplete, and the reason is Reason: no example. not me expecting a cute little example and getting nothing, but okay 😭

🌈 CATEGORY 🌈

  • Todo no example β€” yep, that's the category, bestie. 🧚

bye bestie πŸ’– β€” source/version and date: http://cppreference.com, 2024.06.10, page std::basic_fstream::rdbuf(3) πŸŽ€

πŸ“¦ where this page comes from