Template Function sequant::find_position

Function Documentation

template<typename Range, typename T>
std::optional<std::size_t> sequant::find_position(const Range &rng, const T &value)
Returns:

the position of the first element of rng that compares equal to value, or std::nullopt if there is none