Struct for hashing a character.
More...
#include <bio/alphabet/hash.hpp>
|
size_t | operator() (alphabet_t const character) const noexcept |
| Compute the hash for a character.
|
|
template<typename alphabet_t>
requires bio::alphabet::semialphabet<alphabet_t>
struct std::hash< alphabet_t >
Struct for hashing a character.
- Template Parameters
-
◆ operator()()
template<typename alphabet_t >
size_t std::hash< alphabet_t >::operator() |
( |
alphabet_t const |
character | ) |
const |
|
inlinenoexcept |
Compute the hash for a character.
- Parameters
-
- Returns
- The rank of the character.
- See also
- bio::alphabet::to_rank.
The documentation for this struct was generated from the following file: