libstdc++: __gnu_pbds::detail::resize_policy< _Tp > Class Template Reference (original) (raw)

#include <[resize_policy.hpp](a01334%5Fsource.html)>

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

template<typename _Tp>
class __gnu_pbds::detail::resize_policy< _Tp >

Resize policy for binary heap.

Definition at line 52 of file resize_policy.hpp.

size_type

resize_policy() [2/2]

get_new_size_for_arbitrary()

get_new_size_for_grow()

get_new_size_for_shrink()

notify_arbitrary()

notify_grow_resize()

notify_shrink_resize()

resize_needed_for_grow()

resize_needed_for_shrink()

swap()

min_size


The documentation for this class was generated from the following file: