std::pmr::m...am_resource(3)

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

hii bestie!! welcome to the std::pmr::m...am_resource(3) page from the C++ Standard Libary manual β€” yes, the title is abbreviated like that, no cap πŸ˜­πŸ’…. We're talking about std::pmr::monotonic_buffer_resource::upstream_resource, and it's lowkey a tiny page, so let's go ✨.

πŸ’– NAME πŸ’–

std::pmr::monotonic_buffer_resource::upstream_resource - std::pmr::monotonic_buffer_resource::upstream_resource

✨ Synopsis ✨

std::pmr::memory_resource* upstream_resource() const;  (since C++17)

okay so this member function returns a pointer to the upstream memory resource 🫢. It's literally the same value as the upstream argument you passed to the constructor of this object. That's the whole vibe. πŸ’–

πŸ¦‹ See also πŸ¦‹

  • constructor β€” constructs a monotonic_buffer_resource (public member function) 🌸

cute little sign-off: source is http://cppreference.com, dated 2024.06.10, and the page is std::pmr::m...am_resource(3) β€” mwah πŸ’‹βœ¨.

πŸ“¦ where this page comes from