Skip to content

P2445R1 std::forward_like #5681

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

Merged
merged 1 commit into from
Aug 17, 2022
Merged

P2445R1 std::forward_like #5681

merged 1 commit into from
Aug 17, 2022

Conversation

jensmaurer
Copy link
Member

Fixes #5614
Fixes cplusplus/papers#1117

@jensmaurer jensmaurer added this to the post-2022-07 milestone Jul 28, 2022
@frederick-vs-ja
Copy link
Contributor

Does std::forward_like<T>(x) result in hard error if T&& is not a valid type (e.g. T is void)?

If so, should we add a "Mandates:" bullet to make this clear?

@jensmaurer
Copy link
Member Author

Does std::forward_like<T>(x) result in hard error if T&& is not a valid type (e.g. T is void)?

If so, should we add a "Mandates:" bullet to make this clear?

Please discuss this with LWG.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@tkoeppe tkoeppe force-pushed the motions-2022-07-lwg-27 branch from a4e8fbd to 7e85089 Compare August 17, 2022 13:59
@tkoeppe tkoeppe merged commit d459b3e into main Aug 17, 2022
@jensmaurer jensmaurer deleted the motions-2022-07-lwg-27 branch November 18, 2022 21:40
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

Successfully merging this pull request may close these issues.

[2022-07 LWG Motion 27] P2445R1 std::forward_like
3 participants