std::pmr::s...eam_resource(3)
π NAME π
std::pmr::synchronized_pool_resource::upstream_resource β bestie, that's literally the whole name, it's giving "I said what I said" π
This page lives in the C++ Standard Library man pages, and it's all about one tiny lil member function that tells you where your memory actually comes from π§
β¨ Synopsis β¨
std::pmr::memory_resource* upstream_resource() const; (since C++17)
okay so what does it do? It returns a pointer to the upstream memory resource π₯ That's it. That's the whole vibe.
And just so we're clear β it's the exact same value as the upstream argument you passed to the constructor of this object. No cap, same pointer, same energy π«Ά
π See also π
- constructor β constructs a
synchronized_pool_resource(public member function) β
k bye bestie, go forth and allocate responsibly π
this page was brought to you by http://cppreference.com, dated 2024.06.10, and it goes out under the header std::pmr::s...eam_resource(3) ππ¦πΈ
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms