std::pmr::p...onstruction(3)

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

πŸ’… std::pmr::polymorphic_allocator::select_on_container_copy_construction πŸ’…

okay so this is a C++ Standard Libary manual page, section (3), and the abbreviated page label floating around is std::pmr::p...onstruction(3). the main character? literally std::pmr::polymorphic_allocator::select_on_container_copy_construction. no cap, bestie.


✨ NAME ✨

std::pmr::polymorphic_allocator::select_on_container_copy_construction β€” std::pmr::polymorphic_allocator::select_on_container_copy_construction


🌸 Synopsis 🌸

polymorphic_allocator select_on_container_copy_construction() const;

(since C++17)

Returns a default-constructed polymorphic_allocator object. that's it. that's the tea πŸ«–.

πŸŽ€ Parameters πŸŽ€

(none) β€” zero parameters, bestie. not a single one. 🫢

πŸ¦‹ Return value πŸ¦‹

A default-constructed polymorphic_allocator object. iconic default-construction behavior ✨.

⭐ Notes ⭐

polymorphic_allocators do not propagate on container copy construction. important vibe check! πŸ’…

πŸ‘‘ See also πŸ‘‘

  • select_on_container_copy_construction β€” obtains the allocator to use after copying a standard container. [static] (public static member function of std::allocator_traits<Alloc>)

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

πŸ“¦ where this page comes from