Skip to content
Snippets Groups Projects
Commit 61fb62a9 authored by sss's avatar sss Committed by scott snyder
Browse files

CxxUtils: Add minmax_transformed_element.h

Add [min,max]_transformed_element to return the minimum or maximum
transformed element from a range along with its iterator.
In principle this can be implemented using C++20 ranges,
but then its difficult to avoid having the transformation evaluated
multiple times per element.
parent 4e24fd0e
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment