std::experi...ry_resource(3)

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

🌸 NAME 🌸

okay bestie, this page is std::experi...ry_resource(3) from the C++ Standard Libary manual, and the name it's serving is literally:

std::experimental::function::get_memory_resource - std::experimental::function::get_memory_resource

periodt. πŸ’…


✨ Synopsis ✨

This one is tagged (library fundamentals TS) and it has been (removed in library fundamentals TS v3) β€” so yeah, mind the version, bestie.

The signature is exactly this, no cap:

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

Returns a pointer to the memory resource used by this object to allocate memory. That's the whole function vibe. 🫢


πŸŽ€ Parameters πŸŽ€

  • (none) β€” not one single parameter. iconic, honestly. πŸ’–

πŸ¦‹ Return value πŸ¦‹

A pointer to the memory resource used by this object to allocate memory. πŸ’«


πŸ‘‘ See also πŸ‘‘

  • constructor β€” constructs a new std::experimental::function instance (public member function)
  • get_allocator β€” retrieves a type-erased std::pmr::polymorphic_allocator used by this object to allocate memory (library fundamentals TS v3) (public member function)

okay that's the page, bestie πŸ’– source/version: http://cppreference.com, date: 2024.06.10. mwah πŸ’‹

πŸ“¦ where this page comes from