std::pmr::p...or::resource(3)

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

✨ NAME ✨

okay so welcome to the C++ Standard Libary manual, bestie πŸ’– β€” this one is the page for std::pmr::polymorphic_allocator::resource (the header truncates the title as std::pmr::p...or::resource(3), iykyk). The NAME line is literally std::pmr::polymorphic_allocator::resource - std::pmr::polymorphic_allocator::resource, so yes, it’s giving β€œsame name, twice” energy. πŸŽ€

🌸 Synopsis 🌸

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

This is the member function that returns the memory resource pointer used by this polymorphic allocator. Slay. ✨

πŸŽ€ Parameters πŸŽ€

(none) β€” not a single argument, zero, nada. It just vibes with no parameters. πŸ’…

πŸ’– Return value πŸ’–

The memory resource pointer used by this polymorphic allocator. That’s the whole return value, no cap. 🫢


and that’s the tea πŸ“: this page is from http://cppreference.com, dated/versioned 2024.06.10, with the footer title std::pmr::p...or::resource(3). periodt πŸ’œ

πŸ“¦ where this page comes from