std::scoped...or_adaptor::(3)
okay so bestie, welcome to the std::scoped...or_adaptor::(3) page from the C++ Standard Libary β yes, thatβs the spelling on the header, and yes, the manual name std::scoped...or_adaptor::(3) shows up again, weβre keeping the chaos π
β¨
π NAME π
std::scoped_allocator_adaptor::β the NAME line literally saysstd::scoped_allocator_adaptor:: - std::scoped_allocator_adaptor::, doubled colon and all. We are not editing it, we are respecting the icon behavior ππ
β¨ Synopsis β¨
Hereβs the exact synopsis, no cap:
Defined in header <scoped_allocator>
scoped_allocator_adaptor select_on_container_copy_construction()
(since C++11)
const;
This one is (since C++11), bestie β vintage but still slaying πΈ
It creates a new instance of std::scoped_allocator_adaptor, where the outer allocator base class and each inner allocator subobject are obtained by calling std::allocator_traits<A>::select_on_container_copy_construction(). thatβs the whole lore π«Ά
π Parameters π
(none)β literally none. no args, no drama, just vibes π§
π¦ Return value π¦
A new std::scoped_allocator_adaptor object, constructed from correctly copied allocators. slay β¨
π See also π
select_on_container_copy_construction[static] β obtains the allocator to use after copying a standard container (public static member function ofstd::allocator_traits<Alloc>). iykyk π
okay thatβs the whole page, mwah π β the footerβs source/version/date vibes are http://cppreference.com, 2024.06.10, and std::scoped...or_adaptor::(3). byeee π«Άπ
π¦ 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