logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

__gnu_pbds::detail::resize_policy.3cxx

Author

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

                                                    libstdc++     __gnu_pbds::detail::resize_policy<_Tp>(3cxx)

Detailed Description

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

Name

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

Synopsis

       #include <resize_policy.hpp>

   PublicTypes
       typedef _Tp size_typePublicMemberFunctionsresize_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 > &)

   StaticPublicAttributes
       static const _Tp min_size

See Also