A sample resize policy. 
Definition at line 47 of file sample_resize_policy.hpp.
      
        
          | __gnu_pbds::sample_resize_policy::sample_resize_policy | ( |  | ) |  | 
      
 
 
Queries what the new size should be. 
 
 
  
  | 
        
          | bool __gnu_pbds::sample_resize_policy::is_resize_needed | ( |  | ) | const |  | inlineprotected | 
 
Queries whether a resize is needed. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_cleared | ( |  | ) |  |  | protected | 
 
Notifies the table was cleared. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_erase_search_collision | ( |  | ) |  |  | inlineprotected | 
 
Notifies a search encountered a collision. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_erase_search_end | ( |  | ) |  |  | inlineprotected | 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_erase_search_start | ( |  | ) |  |  | inlineprotected | 
 
Notifies a search started. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_erased | ( | size_type | num_e | ) |  |  | inlineprotected | 
 
Notifies an element was erased. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_find_search_collision | ( |  | ) |  |  | inlineprotected | 
 
Notifies a search encountered a collision. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_find_search_end | ( |  | ) |  |  | inlineprotected | 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_find_search_start | ( |  | ) |  |  | inlineprotected | 
 
Notifies a search started. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_insert_search_collision | ( |  | ) |  |  | inlineprotected | 
 
Notifies a search encountered a collision. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_insert_search_end | ( |  | ) |  |  | inlineprotected | 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_insert_search_start | ( |  | ) |  |  | inlineprotected | 
 
Notifies a search started. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_inserted | ( | size_type | num_e | ) |  |  | inlineprotected | 
 
Notifies an element was inserted. 
 
 
  
  | 
        
          | void __gnu_pbds::sample_resize_policy::notify_resized | ( | size_type | new_size | ) |  |  | protected | 
 
Notifies the table was resized to new_size. 
 
 
The documentation for this class was generated from the following file: