mrdocs::find_last_of
Find the last element in a range that matches an element in the specified range.
Synopsis
Declared in <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);
Return Value
An iterator to the last element found, or std::ranges::end(range) if not found.
Parameters
| Name | Description |
|---|---|
range |
The range to search. |
els |
The elements to search for. |
Created with MrDocs