std::scoped...or::max_size(3)
β¨ NAME β¨
std::scoped_allocator_adaptor::max_size β okay bestie, this is the std::scoped_allocator_adaptor::max_size(3) page from the C++ Standard Libary π
β¨
π¦ Synopsis π¦
Defined in header <scoped_allocator> π
size_type max_size() const; (since C++11)
So what does it do? It reports the maximum allocation size supported by the outer allocator, by calling std::allocator_traits<OuterAlloc>::max_size(outer_allocator()). That's the whole vibe, no cap π
πΈ Parameters πΈ
None β literally (none), bestie π«Ά
π Return value π
The maximum allocation size for OuterAlloc. Periodt π
π See also π
max_sizeβ returns the largest supported allocation size (until C++20) (public member function ofstd::allocator<T>) π¦max_sizeβ returns the maximum object size supported by the allocator[static](public static member function ofstd::allocator_traits<Alloc>) β
source: cppreference.com Β· date: 2024.06.10 Β· bye bestie, love u π«Άπβ¨
π¦ 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