std::experi...ory_resource(3)

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

okay so welcome to the std::experi...ory_resource(3) page from the C++ Standard Libary, bestie! πŸ’– The manual name is right there, the title is right there, and the main character of today's episode is std::experimental::packaged_task::get_memory_resource. Let's get into it. ✨

NAME πŸ’…

std::experimental::packaged_task::get_memory_resource β€” std::experimental::packaged_task::get_memory_resource

Yes, it's listed twice in the NAME section, and we are respecting that iconic repetition. Periodt. πŸŽ€

Synopsis πŸ¦‹

The synopsis is giving "spread across lines" energy, and here it is exactly:

          std::experimental::pmr::memory_resource*
       (library fundamentals
          get_memory_resource() const noexcept;                          TS)

And the description is literally: returns a pointer to the memory resource used by this object to allocate memory. No cap. πŸ”₯

Parameters 🫢

(none)

Literally zero parameters. The parameter list is empty, bestie. Nada. πŸ’œ

Return value πŸŽ€

A pointer to the memory resource used by this object to allocate memory.

That's it β€” that's the return value, and it's serving exactly what it says on the tin. πŸ’…

See also 🌈

  • constructor β€” constructs the task object (public member function)

okay bye bestie! πŸ’– source/version + date vibe check: http://cppreference.com Β· 2024.06.10 Β· std::experi...ory_resource(3). Mwah! πŸŽ€βœ¨

πŸ“¦ where this page comes from