std::scoped...r_allocator(3)
π NAME π
okay so this is the std::scoped_allocator_adaptor::inner_allocator page from the C++ Standard Libary manual, bestie. Itβs literally std::scoped_allocator_adaptor::inner_allocator β same name, same energy, no cap. π
β¨ Synopsis β¨
Defined in header <scoped_allocator>
inner_allocator_type& inner_allocator() noexcept; (1)
(since C++11)
const inner_allocator_type& inner_allocator() const noexcept; (2)
(since C++11)
So this one obtains a reference to the inner allocator used to declare this scoped_allocator_adaptor. π«Ά
If sizeof...(InnerAllocs) == 0, that is, no inner allocators were declared, it returns *this. Otherwise it returns a reference to std::scoped_allocator_adaptor<InnerAllocs...>, that is, a scoped allocator composed of all inner allocators of *this, with the first inner allocator becoming the outer allocator. Slay, but make it allocator vibes. πΈ
π Parameters π
(none) β not a single parameter, bestie. π
π¦ Return value π¦
A reference to the inner allocator, which is itself a std::scoped_allocator_adaptor. Iconic behavior, honestly. π
π See also π
outer_allocatorβ obtains anouter_allocatorreference (public member function). iykyk π«
okay bye bestie π this page came from http://cppreference.com, dated 2024.06.10, with the manual label std::scoped...r_allocator(3) β mwah, periodt π
β¨
π¦ 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