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