std::experi...eam_resource(3)

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

πŸ’– std::experimental::pmr::synchronized_pool_resource::upstream_resource πŸ’–

Okay bestie, this page is from the C++ Standard Libary manual β€” yes, that’s literally how it’s spelled up top, no cap β€” and it lives in section (3). The header gets squished into std::experi...eam_resource(3) because man pages love a dramatic little ellipsis moment. πŸ’…


🌸 NAME 🌸

The NAME section says the same whole thing twice, because why not:

std::experimental::pmr::synchronized_pool_resource::upstream_resource β€” std::experimental::pmr::synchronized_pool_resource::upstream_resource

Periodt. πŸ’–


✨ Synopsis ✨

memory_resource* upstream_resource() const;  (library fundamentals
TS)

It’s giving β€œtiny signature, important job” energy. πŸŽ€


πŸ¦‹ DESCRIPTION πŸ¦‹

Returns a pointer to the upstream memory resource. This is the same value as the upstream argument passed to the constructor of this object.

So yeah β€” it hands you back the upstream resource pointer, and it matches the upstream argument that went into this object’s constructor. Simple, iconic, no plot twist. 🌟


πŸ‘‘ See also πŸ‘‘

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

🌈 Category 🌈

  • Noindexed pages

Lowkey just a tiny accessor page, but it’s doing its job and looking cute while doing it. 🫢

Source/version: http://cppreference.com Β· date: 2024.06.10 Β· footer title: std::experi...eam_resource(3) β€” mwah, bye bestie! πŸ’‹βœ¨

πŸ“¦ where this page comes from