std::unorde...et_allocator(3)

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

πŸ‘‘ std::unordered_map::get_allocator πŸ‘‘

okay bestie, this is the std::unordered_map::get_allocator page from the C++ Standard Libary manual β€” yes the manual name is literally spelled β€œLibary” up there, we’re keeping the lore πŸ’…βœ¨

🌸 NAME 🌸

std::unordered_map::get_allocator - std::unordered_map::get_allocator

✨ Synopsis ✨

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

It returns the allocator associated with the container 🫢 β€” that’s the synopsis tea, fr fr.

πŸŽ€ Parameters πŸŽ€

(none) β€” literally no parameters, bestie, not a single one πŸ’€

πŸ’– Return value πŸ’–

The associated allocator. That’s it, that’s the return value, periodt 🌈

πŸ”₯ Complexity πŸ”₯

Constant. No cap, it’s giving constant complexity ⭐


mwah πŸ’‹ β€” source/version vibes: http://cppreference.com; date: 2024.06.10; footer energy: std::unorde...et_allocator(3). slay πŸŽ€

πŸ“¦ where this page comes from