__GNU_PBDS::DETAIL::RESIZE_POLICY(3cxx)
okay bestie, welcome to the 3cxx manual page for __gnu_pbds::detail::resize_policy< _Tp > β the header shows it all truncated as __gnu_pbds::det...e_policy< _Tp >(3cxx), and honestly that ellipsis is giving mysterious main-character energy. π
π NAME π
__gnu_pbds::detail::resize_policy< _Tp > β resize policy for binary heap. Thatβs the whole name section, and it ate. β¨
β¨ SYNOPSIS β¨
#include <resize_policy.hpp>
πΈ Public Types πΈ
typedef _Tp size_typeβ the public type alias, exactly as listed. No extra lore in the original, so Iβm not inventing any. π«Ά
π Public Member Functions π
The original gives these as signatures with no per-method prose, so hereβs the full roster β every one, no skipping, no fake behavior notes. Periodt. π
resize_policy (const resize_policy &other)β the constructor-shaped entry, chillinβ in the public API exactly like this.size_type get_new_size_for_arbitrary (size_type) constβ the arbitrary-size getter-ish one; signature is the whole story here.size_type get_new_size_for_grow () constβ the grow-size getter-ish one, untouched.size_type get_new_size_for_shrink () constβ the shrink-size getter-ish one, untouched.bool grow_needed (size_type) constβ the grow-needed check, signature and all.void notify_arbitrary (size_type)β the arbitrary notification entry, exactly as shown.void notify_grow_resize ()β the grow-resize notification entry, exactly as shown.void notify_shrink_resize ()β the shrink-resize notification entry, exactly as shown.bool resize_needed_for_grow (size_type) constβ the resize-needed-for-grow check, signature intact.bool resize_needed_for_shrink (size_type) constβ the resize-needed-for-shrink check, signature intact.bool shrink_needed (size_type) constβ the shrink-needed check, signature intact.void swap (resize_policy< _Tp > &)β the swap entry, exactly as listed.
π¦ Static Public Attributes π¦
static const _Tp min_sizeβ static public attribute, exact spelling, iconic. β
π Detailed Description π
Template vibe check, bestie β literally this:
template<typename _Tp>
class __gnu_pbds::detail::resize_policy< _Tp >"Resize policy for binary
heap.
That stray " after the class name is in the source page β not me adding drama to the code. π
π«Ά Author π«Ά
Generated automatically by Doxygen for libstdc++ from the source code. Slay, automated docs. π
okay thatβs the whole page, bestie π source/version: libstdc++, generated automatically by Doxygen from the source code; footer text says libst__gnu_pbds::det...e_policy< _Tp >(3cxx), and the date slot is empty in what I was given, so no fake date from me. π¦β¨
π¦ where this page comes from
- debian trixie: libstdc++-12-doc 12.4.0-5
- debian trixie: libstdc++-13-doc 13.3.0-16
- debian trixie: libstdc++-14-doc 14.2.0-19
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2
- ubuntu noble: libstdc++-10-doc 10.5.0-4ubuntu2.1
- ubuntu noble: libstdc++-11-doc 11.4.0-9ubuntu1
- ubuntu noble: libstdc++-11-doc 11.5.0-1ubuntu1~24.04.1
- ubuntu noble: libstdc++-12-doc 12.3.0-17ubuntu1
- ubuntu noble: libstdc++-12-doc 12.4.0-2ubuntu1~24.04.1
- ubuntu noble: libstdc++-13-doc 13.2.0-23ubuntu4
- ubuntu noble: libstdc++-13-doc 13.3.0-6ubuntu2~24.04.1
- ubuntu noble: libstdc++-14-doc 14-20240412-0ubuntu1
- ubuntu noble: libstdc++-14-doc 14.2.0-4ubuntu2~24.04.1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1
- ubuntu questing: libstdc++-11-doc 11.5.0-7ubuntu1.1
- ubuntu questing: libstdc++-12-doc 12.5.0-6ubuntu1
- ubuntu questing: libstdc++-13-doc 13.4.0-4ubuntu1
- ubuntu questing: libstdc++-14-doc 14.3.0-8ubuntu1
- ubuntu questing: libstdc++-15-doc 15.2.0-4ubuntu4
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms