---
name: "std::__detail::_Mod_range_hashing"
section: "3cxx"
platform: "linux"
package: "libstdc++-10-doc"
version: "10.2.1-6"
release: "Debian 11 (Bullseye)"
platforms: ["linux"]
url: "https://new.carta.tech/std::__detail::_Mod_range_hashing"
---

# std::\_\_detail::\_Mod\_range\_hashing(3cxx)

Default range hashing function: use division to fold a large number into the range \[0, N).

## NAME

std::\_\_detail::\_Mod\_range\_hashing - Default range hashing function: use division to fold a large number into the range \[0, N).

## SYNOPSIS

### Public Types

typedef std::size\_t **first\_argument\_type**\
 typedef std::size\_t **result\_type**\
 typedef std::size\_t **second\_argument\_type**\

### Public Member Functions

result\_type **operator()** (first\_argument\_type \_\_num, second\_argument\_type \_\_den) const noexcept\

## Detailed Description

Default range hashing function: use division to fold a large number into the range \[0, N).

Definition at line 424 of file hashtable\_policy.h.

## Author

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