 |
SeqAn3
3.0.2
The Modern C++ library for sequence analysis.
|
|
Go to the documentation of this file.
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);
Additional non-standard concepts for ranges.
size_t operator()(urng2_t &&range) const noexcept
Compute the hash for a range of characters.
Definition: hash.hpp:43
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
SeqAn specific customisations in the standard namespace.
The basis for seqan3::alphabet, but requires only rank interface (not char).
Provides overloads for std::hash.