std::multis...t_allocator(3)

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

πŸ’– NAME πŸ’–

okay so bestie, you're on the std::multiset::get_allocator(3) page of the C++ Standard Libary manual, and the name situation is literally:

std::multiset::get_allocator - std::multiset::get_allocator

no cap, it really says it twice β€” iconic standard-library behavior πŸ‘‘


✨ Synopsis ✨

The signature is right here, exact and untouched:

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

Returns the allocator associated with the container. That's it β€” it's giving "one job, done well" πŸ’…


πŸŽ€ Parameters πŸŽ€

  • (none) β€” zero args, no notes, no little extras to pass in πŸ™ˆ

πŸ¦‹ Return value πŸ¦‹

The associated allocator. The allocator. The one associated with the container. Periodt πŸ’–


🌸 Complexity 🌸

Constant. Like, constant. No surprises, no drama, just constant ✨


mwah πŸ’‹ source/version is http://cppreference.com, date is 2024.06.10, and the footer title is std::multis...t_allocator(3) β€” bye bestie 🫢

πŸ“¦ where this page comes from