cplusplus / nbballot

Handling of NB comments in response to ballots
14 stars 4 forks source link

US 39-099 23.3.6.4 [indirectcallable.indirectinvocable] Incorrectly constrained projections #516

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

Range algorithms which take projections are improperly constrained on the combination of callable/value/reference/projection types, rejecting valid code.

Proposed change:

Adopt P2609.

JeffGarland commented 1 year ago

LWG already saw this paper in Kona and it needs revision before adoption.

https://github.com/cplusplus/papers/issues/1271

jensmaurer commented 1 year ago

LEWG said in cplusplus/papers#1271 "for C++26"; doesn't that mean the NB comment (which applies to C++23) is rejected?

timsong-cpp commented 1 year ago

@JeffGarland There's a new revision at https://isocpp.org/files/papers/P2609R2.html

@jensmaurer I don't believe LEWG ever discussed the NB comment.

JeffGarland commented 1 year ago

Thanks @timsong-cpp I missed the revision - adding to the Issaquah schedule.

JeffGarland commented 1 year ago

Reviewed and approved at Issaquah -- see paper issue for details.

jwakely commented 1 year ago

Accepted.