std::deque::get_allocator(3)
π std::deque::get_allocator(3) π
Okay bestie, welcome to the <std::deque::get_allocator> page from the C++ Standard Libary manual β yes, that spelling is exactly what the header says, and we are respecting it. π
β¨ NAME β¨
std::deque::get_allocator β literally std::deque::get_allocator. The name is the name, no cap. It's giving self-titled album energy. π
π Synopsis π
Okay so here's the signature, exactly as it appears:
allocator_type get_allocator() const; (noexcept since C++11)
Returns the allocator associated with the container. Also, (noexcept since C++11) is right there on the signature β noted, slay. π
πΈ Parameters πΈ
(none) β literally no parameters. Not a single one. The parameter list is empty and living its best life. π
π¦ Return value π¦
The associated allocator. That's it. That's the return value. π«Ά
π Complexity π
Constant. Lowkey the easiest complexity reveal ever. β
source/version: http://cppreference.com Β· date: 2024.06.10 β that's the footer tea, bestie π
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms