Skip to content

[Question] soa_vector getting the max_value for a member #2001

Answered by jfalcou
matthijs asked this question in Q&A
Discussion options

You must be logged in to vote

You can pass a predicate as a 2nd member of max_value in which you can compare what you want

https://godbolt.org/z/6hWWc816d

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@matthijs
Comment options

@jfalcou
Comment options

Answer selected by matthijs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants