__gnu_pbds::detail::resize_policy(3cxx)

__gnu_pbds::detail::resize_policy3cxx

Resize policy for binary heap.

Usage

#include <resize_policy.hpp>

Public Types

typedef _Tp size_type

Public Member Functions

resize_policy (const resize_policy &other)
size_type get_new_size_for_arbitrary (size_type) const
size_type get_new_size_for_grow () const
size_type get_new_size_for_shrink () const
bool grow_needed (size_type) const
void notify_arbitrary (size_type)
void notify_grow_resize ()
void notify_shrink_resize ()
bool resize_needed_for_grow (size_type) const
bool resize_needed_for_shrink (size_type) const
bool shrink_needed (size_type) const
void swap (resize_policy< _Tp > &)

Static Public Attributes

static const _Tp min_size

Detailed Description

template<typename _Tp>

class __gnu_pbds::detail::resize_policy< _Tp >"Resize policy for binary heap.

Releases

7 releases since Debian 7 (Wheezy); the text changed 6 times.

  1. 7
  2. 8
  3. 9
  4. 10
  5. 11
  6. 12
  7. 13

Author

Generated automatically by Doxygen for libstdc++ from the source code.

From libstdc++-12-doc 12.4.0-5 in Debian 13 (Trixie). Also shipped by libstdc++-13-doc, libstdc++-14-doc. Parsed by carta from the page's man source.