.TH "__gnu_pbds::detail::resize_policy< _Tp >" 3cxx "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME __gnu_pbds::detail::resize_policy< _Tp > \- Resize policy for binary heap\&. .SH SYNOPSIS .br .PP .PP \fC#include \fP .SS "Public Types" .in +1c .ti -1c .RI "typedef _Tp \fBsize_type\fP" .br .in -1c .SS "Public Member Functions" .in +1c .ti -1c .RI "\fBresize_policy\fP (const \fBresize_policy\fP &other)" .br .ti -1c .RI "size_type \fBget_new_size_for_arbitrary\fP (size_type) const" .br .ti -1c .RI "size_type \fBget_new_size_for_grow\fP () const" .br .ti -1c .RI "size_type \fBget_new_size_for_shrink\fP () const" .br .ti -1c .RI "bool \fBgrow_needed\fP (size_type) const" .br .ti -1c .RI "void \fBnotify_arbitrary\fP (size_type)" .br .ti -1c .RI "void \fBnotify_grow_resize\fP ()" .br .ti -1c .RI "void \fBnotify_shrink_resize\fP ()" .br .ti -1c .RI "bool \fBresize_needed_for_grow\fP (size_type) const" .br .ti -1c .RI "bool \fBresize_needed_for_shrink\fP (size_type) const" .br .ti -1c .RI "bool \fBshrink_needed\fP (size_type) const" .br .ti -1c .RI "void \fBswap\fP (\fBresize_policy\fP< _Tp > &)" .br .in -1c .SS "Static Public Attributes" .in +1c .ti -1c .RI "static const _Tp \fBmin_size\fP" .br .in -1c .SH "Detailed Description" .PP .SS "template .br class __gnu_pbds::detail::resize_policy< _Tp >"Resize policy for binary heap\&. .PP Definition at line \fB52\fP of file \fBresize_policy\&.hpp\fP\&. .SH "Member Typedef Documentation" .PP .SS "template typedef _Tp \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::size_type" .PP Definition at line \fB68\fP of file \fBresize_policy\&.hpp\fP\&. .SH "Constructor & Destructor Documentation" .PP .SS "template \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::resize_policy ()\fC [inline]\fP" .PP Definition at line \fB72\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::resize_policy (const \fBresize_policy\fP< _Tp > & other)\fC [inline]\fP" .PP Definition at line \fB75\fP of file \fBresize_policy\&.hpp\fP\&. .SH "Member Function Documentation" .PP .SS "template \fBresize_policy\fP< _Tp >::size_type \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::get_new_size_for_arbitrary (size_type size) const\fC [inline]\fP" .PP Definition at line \fB170\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template \fBresize_policy\fP< _Tp >::size_type \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::get_new_size_for_grow () const\fC [inline]\fP" .PP Definition at line \fB155\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template \fBresize_policy\fP< _Tp >::size_type \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::get_new_size_for_shrink () const\fC [inline]\fP" .PP Definition at line \fB161\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template void \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::notify_arbitrary (size_type actual_size)\fC [inline]\fP" .PP Definition at line \fB206\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template void \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::notify_grow_resize ()\fC [inline]\fP" .PP Definition at line \fB181\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template void \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::notify_shrink_resize ()\fC [inline]\fP" .PP Definition at line \fB193\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template bool \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::resize_needed_for_grow (size_type size) const\fC [inline]\fP" .PP Definition at line \fB137\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template bool \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::resize_needed_for_shrink (size_type size) const\fC [inline]\fP" .PP Definition at line \fB146\fP of file \fBresize_policy\&.hpp\fP\&. .SS "template void \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::swap (\fBresize_policy\fP< _Tp > & other)\fC [inline]\fP" .PP Definition at line \fB128\fP of file \fBresize_policy\&.hpp\fP\&. .SH "Member Data Documentation" .PP .SS "template const _Tp \fB__gnu_pbds::detail::resize_policy\fP< _Tp >::min_size\fC [static]\fP" .PP Definition at line \fB70\fP of file \fBresize_policy\&.hpp\fP\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.