Find the last element in a range that matches an element in the specified range.
<mrdocs/Support/Algorithm.hpp>
template<
std::ranges::range Range,
std::ranges::range Els>
requires std::equality_comparable_with<std::ranges::range_value_t<Els>, std::ranges::range_value_t<Range>>
auto
find_last_of(
Range&& range,
Els&& els);
| Name | Description |
|---|---|
| range | The range to search. |
| els | The elements to search for. |