29 template <ranges::input_range urng_t>
43 template <ranges::input_range urng2_t>
49 using alphabet_t = std::ranges::range_reference_t<urng_t>;
52 for (alphabet_t character : range)
54 result *= seqan3::alphabet_size<alphabet_t>;
55 result += h(character);
Provides overloads for std::hash.
Provides various transformation traits used by the range module.
The basis for seqan3::alphabet, but requires only rank interface (not char).
SeqAn specific customisations in the standard namespace.
Adaptations of concepts from the Ranges TS.
Struct for hashing a character.
Definition: hash.hpp:30
size_t operator()(urng2_t &&range) const noexcept
Compute the hash for a range of characters.
Definition: hash.hpp:47