Arch manual pages

__gnu_pbds::sample_resize_policy(3) Library Functions Manual __gnu_pbds::sample_resize_policy(3)

__gnu_pbds::sample_resize_policy - A sample resize policy.


typedef std::size_t size_type
 
Size type.


sample_resize_policy ()
 
Default constructor. sample_range_hashing (const sample_resize_policy &other)
 
Copy constructor. void swap (sample_resize_policy &other)
 
Swaps content.


size_type get_new_size (size_type size, size_type num_used_e) const
 
Queries what the new size should be. bool is_resize_needed () const
 
Queries whether a resize is needed. void notify_cleared ()
 
Notifies the table was cleared. void notify_erase_search_collision ()
 
Notifies a search encountered a collision. void notify_erase_search_end ()
 
Notifies a search ended. void notify_erase_search_start ()
 
Notifies a search started. void notify_erased (size_type num_e)
 
Notifies an element was erased. void notify_find_search_collision ()
 
Notifies a search encountered a collision. void notify_find_search_end ()
 
Notifies a search ended. void notify_find_search_start ()
 
Notifies a search started. void notify_insert_search_collision ()
 
Notifies a search encountered a collision. void notify_insert_search_end ()
 
Notifies a search ended. void notify_insert_search_start ()
 
Notifies a search started. void notify_inserted (size_type num_e)
 
Notifies an element was inserted. void notify_resized (size_type new_size)
 
Notifies the table was resized to new_size.

A sample resize policy.
Definition at line 47 of file sample_resize_policy.hpp.

Size type.
Definition at line 51 of file sample_resize_policy.hpp.

Default constructor.

Queries what the new size should be.

Queries whether a resize is needed.

Notifies the table was cleared.

Notifies a search encountered a collision.

Notifies a search ended.

Notifies a search started.

Notifies an element was erased.

Notifies a search encountered a collision.

Notifies a search ended.

Notifies a search started.

Notifies a search encountered a collision.

Notifies a search ended.

Notifies a search started.

Notifies an element was inserted.

Notifies the table was resized to new_size.

Copy constructor.

Swaps content.

Generated automatically by Doxygen for libstdc++ from the source code.
Thu Nov 29 2018 libstdc++