[#mrdocs-find_last_of] = xref:mrdocs.adoc[mrdocs]::find_last_of :relfileprefix: ../ :mrdocs: Find the last element in a range that matches an element in the specified range. == Synopsis Declared in `<mrdocs/Support/Algorithm.hpp>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- 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 [cols="1,4"] |=== | Name| Description | *range* | The range to search. | *els* | The elements to search for. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#