Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify is_proper_subset #22

Open
rhalbersma opened this issue Jan 9, 2024 · 0 comments
Open

Simplify is_proper_subset #22

rhalbersma opened this issue Jan 9, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@rhalbersma
Copy link
Owner

Write a find_if_first_of function that takes a range of elements and a tuple of predicates and returns an iterator and an optional<int> for the element and first predicate that is satisfied. This will eliminate the raw (remaining) loop inside is_proper_subset.

@rhalbersma rhalbersma added the enhancement New feature or request label Jan 9, 2024
@rhalbersma rhalbersma self-assigned this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant