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

add Michal's get_completion_scheduler(s) example from P2300 #10

Open
atomgalaxy opened this issue Feb 15, 2022 · 1 comment
Open

add Michal's get_completion_scheduler(s) example from P2300 #10

atomgalaxy opened this issue Feb 15, 2022 · 1 comment

Comments

@atomgalaxy
Copy link
Owner

call foo(get_completion_scheduler(s), s) if valid, otherwise foo(s)"

@lewissbaker
Copy link
Collaborator

I think having cpo(args...) not map to tag_invoke(cpo, args...) if defined otherwise some default is probably an inconsiatent use of tag_invoke which could cause weirdness for all sorts of cpo-based wrappers.

I'll investigate to see if P2300 really needs that behaviour or whether the priority of tag_invoke overloads can be reversed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants