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

LWG Poll 23: P2106R0 Alternative wording for GB315 and GB316 #3774

Merged
merged 1 commit into from Mar 4, 2020

Conversation

jensmaurer
Copy link
Member

@jensmaurer jensmaurer commented Feb 20, 2020

Also fixes NB GB 315 and NB GB 316.

Fixes #3725 .
Fixes cplusplus/nbballot#311.
Fixes cplusplus/nbballot#312.

Open issues:

  • Changes contingent on D1243R4 not applied (for_each_n_result).

@jensmaurer jensmaurer added this to the post-2020-02 milestone Feb 20, 2020

template<class II1, class II2, class OO>
requires convertible_to<const I1&, II1> &&
convertible_to<const I2&, II2> && convertible_to<const O&, OO>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
convertible_to<const I2&, II2> && convertible_to<const O&, OO>
convertible_to<const I2&, II2> && convertible_to<const O&, OO>

https://github.com/cplusplus/draft/pull/3750/files formats it like this. This occurs below too.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I use that style in #3750 because I'm under the impression that the editors prefer it. It is notably similar to how we indent run-on lines for template parameters.

@tkoeppe
Copy link
Contributor

tkoeppe commented Feb 20, 2020

Let me try to close and reopen this to trigger Travis.

@tkoeppe tkoeppe closed this Feb 20, 2020
@tkoeppe tkoeppe reopened this Feb 20, 2020
source/algorithms.tex Outdated Show resolved Hide resolved

template<class II1, class II2, class OO>
requires convertible_to<const I1&, II1> &&
convertible_to<const I2&, II2> && convertible_to<const O&, OO>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW, I use that style in #3750 because I'm under the impression that the editors prefer it. It is notably similar to how we indent run-on lines for template parameters.

@jensmaurer jensmaurer changed the title P2106R0 Alternative wording for GB315 and GB316 LWG Poll 23: P2106R0 Alternative wording for GB315 and GB316 Feb 21, 2020
@tkoeppe tkoeppe added the changes requested Changes to the wording or approach have been requested and not yet applied. label Mar 3, 2020
Also fixes NB GB 315 and NB GB 316.
@zygoloid zygoloid merged commit b1e8f5a into master Mar 4, 2020
@jensmaurer jensmaurer deleted the motions-2020-02-lwg-23 branch February 12, 2021 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changes requested Changes to the wording or approach have been requested and not yet applied.
Projects
None yet
5 participants