std::experi...t_allocator(3)
std::experimental::function::get_allocator πΈ
okay bestie, weβre in the C++ Standard Libary manual (yes, thatβs the manual name, and yes, weβre gonna be normal about it π
) and this page is all about std::experimental::function::get_allocator. no cap, itβs a tiny one.
π NAME π
std::experimental::function::get_allocator β std::experimental::function::get_allocator
β¨ Synopsis β¨
std::pmr::polymorphic_allocator<> get_allocator() const (library
fundamentals TS
noexcept; v3)
So yeah: std::pmr::polymorphic_allocator<> get_allocator() const β itβs noexcept, and itβs tagged library fundamentals TS v3. π
π«Ά Parameters π«Ά
(none) β literally no parameters, bestie. not a single one.
π« Return value π«
Returns the std::pmr::polymorphic_allocator<> stored at the construction of function object. If no allocator was explicitly specified, the stored allocator is equal to the source allocator in move construction, or is default-constructed otherwise.
π See also π
get_memory_resourceβ retrieves a pointer to the memory resource (removed in library fundamentals TS v3) used by this object to allocate memory (public member function)
mwah π huge thanks to http://cppreference.com, dated 2024.06.10, for the std::experi...t_allocator(3) page β bye bestie, go slay some allocators! β¨π¦
π¦ 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