std::unorde...t_allocator(3)

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

🌸 NAME 🌸

okay so bestie, this page is std::unorde...t_allocator(3) from the C++ Standard Libary manual β€” yes, "Libary" is their spelling, not mine, and we're leaving it exactly as found 🫢. The NAME section says std::unordered_multiset::get_allocator - std::unordered_multiset::get_allocator. It's literally the same thing twice, and honestly? iconic. πŸ’…


✨ Synopsis ✨

Here's the signature, copied exactly because code gets no creative liberties:

allocator_type get_allocator() const noexcept;  (since C++11)

And the synopsis says: Returns the allocator associated with the container. That's the whole function, bestie β€” no hidden lore. 🫢

πŸŽ€ Parameters πŸŽ€

(none) β€” literally no arguments, no little input gremlins, nothing to pass in. Zero. Zilch. Nada. 😭

πŸ’– Return value πŸ’–

The associated allocator. That's it. That's the return value. It's giving exactly what it says on the tin, no cap. ✨

πŸ¦‹ Complexity πŸ¦‹

Constant. No cap, constant is the whole vibe. ⭐


okay bye bestie, source/version is http://cppreference.com and the date is 2024.06.10 β€” take that little footer fact with you like a friendship bracelet πŸŽ€πŸ’–

πŸ“¦ where this page comes from