std::pmr::u...rce::options(3)
π std::pmr::u...rce::options(3) β C++ Standard Library β¨
okay bestie, welcome to the little corner of the C++ Standard Library where we talk about std::pmr::unsynchronized_pool_resource::options π
yes that's a whole mouthful, i know, but stay with me, it's actually so good.
πΈ NAME πΈ
std::pmr::unsynchronized_pool_resource::options β and yeah, that's it, that's the whole name, it literally just says itself again π«Ά (iconic of it, honestly).
β¨ Synopsis β¨
std::pmr::pool_options options() const; (since C++17)
π What it actually does
it returns the options that controls the pooling behavior of this resource. like, the vibe check of your pool, handed back to you as a struct π¦
π§ The fine print (and it's cute fine print, dw)
the values in the returned struct may differ from those supplied to the constructor in the following ways, no cap:
- values of zero will be replaced with implementation-specified defaults;
- sizes may be rounded to an unspecified granularity.
so bestie, if you ask for something super specific and get back a slightly different number, that's not a bug, that's the implementation doing its little thing π don't come for it.
π See also π
- constructor β constructs an
unsynchronized_pool_resource(public member function) β yes, the one you fed those options to in the first place π
that's the whole page, you ate it, periodt π mwah π
sign-off time: this gorgeous little page came from http://cppreference.com, dated 2024.06.10, and it's std::pmr::u...rce::options(3) all the way down π stay slay, stay pooling, bye bestie π
π¦ 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