libstdc++
__gnu_pbds::sample_resize_trigger Class Reference

List of all members.

Public Types

Public Member Functions

Protected Member Functions


Detailed Description

A sample resize trigger policy.

Definition at line 48 of file sample_resize_trigger.hpp.


Member Typedef Documentation

Size type.

Definition at line 52 of file sample_resize_trigger.hpp.


Constructor & Destructor Documentation


Member Function Documentation

bool __gnu_pbds::sample_resize_trigger::is_grow_needed ( size_type  size,
size_type  num_entries 
) const [inline, protected]

Queries whether a grow is needed.

bool __gnu_pbds::sample_resize_trigger::is_resize_needed ( ) const [inline, protected]

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.

void __gnu_pbds::sample_resize_trigger::notify_erased ( size_type  num_entries) [inline, protected]

Notifies an element was erased.

Notifies the table was resized externally.

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.

void __gnu_pbds::sample_resize_trigger::notify_inserted ( size_type  num_entries) [inline, protected]

Notifies an element was inserted. the total number of entries in the table is num_entries.

Notifies the table was resized as a result of this object's signifying that a resize is needed.

Swaps content.


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