# `hash_prime_size_policy` Interface

A size policy whose sequence of sizes form a nearly-exponential sequence of primes.

1. `hash_policy.hpp`
2. Public Types and Constants:
   1. General definitions.
3. Public Methods:
   1. Constructors, destructor, and related.
4. Protected Methods:
   1. Size methods

## General definitions.

Type | Definition | Description

    size_type

    size_t

Size type.

## Constructors, destructor, and related.

Method | Description

    inline void
      swap
      (hash_prime_size_policy &r_other)

Swaps content.

## Size methods

Method | Description

    inline size_type
      get_init_size
      (size_type suggested_size) const

Given `suggested_size`, a suggested size, returns an initial size of the container related to the initial size.

    inline size_type
      get_nearest_larger_size
      (size_type cur_size) const

Given `cur_size`, the current size, returns a size that is larger.

    inline size_type
      get_nearest_smaller_size
      (size_type cur_size) const

Given `cur_size`, the current size, returns a size that is smaller.