std::experi...onstruction(3)

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

πŸ’… std::experi...onstruction(3) πŸ’…

okay bestie, this page is from the C++ Standard Libary manual (yes, the original header spells it β€œLibary” β€” iconic, keeping it exact πŸ’…), and the page title is std::experi...onstruction(3).


🌸 NAME 🌸

The NAME section is doing duplicate-name energy: std::experimental::pmr::polymorphic_allocator::select_on_container_copy_construction β€” - β€” std::experimental::pmr::polymorphic_allocator::select_on_container_copy_construction.

✨ Synopsis ✨

The synopsis is laid out like this, verbatim:

          polymorphic_allocator select_on_container_copy_construction()
       (library fundamentals
          const;                                                         TS)

And then it says: Returns a default-constructed polymorphic_allocator object.

πŸŽ€ Parameters πŸŽ€

Parameters: (none) β€” literally no arguments, bestie. Not even one little guy.

πŸ’– Return value πŸ’–

A default-constructed polymorphic_allocator object. That’s the whole return, exactly as stated.

πŸ¦‹ Notes πŸ¦‹

polymorphic_allocators do not propagate on container copy construction β€” no cap, they just don’t travel along with the copy. Periodt.

🌈 See also 🌈

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

πŸ‘‘ Category πŸ‘‘

  • Noindexed pages

source: http://cppreference.com β€’ version/date: 2024.06.10 β€’ footer title: std::experi...onstruction(3) β€” bye bestie, go copy-construct something cute πŸ«ΆπŸ’–

πŸ“¦ where this page comes from