Struct for hashing a range of characters.
More...
#include <bio/ranges/hash.hpp>
|
template<ranges::input_range urng2_t>
requires bio::alphabet::semialphabet<std::ranges::range_reference_t<urng2_t>> |
size_t | operator() (urng2_t &&range) const noexcept |
| Compute the hash for a range of characters.
|
|
template<ranges::input_range urng_t>
requires bio::alphabet::semialphabet<std::ranges::range_reference_t<urng_t>>
struct std::hash< urng_t >
Struct for hashing a range of characters.
- Template Parameters
-
urng_t | The type of the range; Must model std::ranges::input_range and the reference type of the range of the range must model bio::alphabet::semialphabet. |
◆ operator()()
template<ranges::input_range urng_t>
template<ranges::input_range urng2_t>
requires bio::alphabet::semialphabet<std::ranges::range_reference_t<urng2_t>>
Compute the hash for a range of characters.
- Template Parameters
-
urng2_t | The same as urng_t (+- cvref); used to get forwarding reference in the interface. |
- Parameters
-
[in] | range | The input range to process. Must model std::ranges::input_range and the reference type of the range of the range must model bio::alphabet::semialphabet. |
- Returns
- size_t.
The documentation for this struct was generated from the following file: