Skip to content
Snippets Groups Projects

CxxUtils: Add minmax_transformed_element.h

Merged Scott Snyder requested to merge ssnyder/athena:minmax_transformed.CxxUtils-20250219 into main

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.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading