cplusplus / nbballot

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

GB-110 26.2 [ranges.syn] New views should be freestanding (repeat, stride, cartesian_product) #439

Closed wg21bot closed 1 year ago

wg21bot commented 1 year ago

The editorial instruction in P1642R11 (freestanding utilities etc) to make "everything in <ranges> except [...]" only applied to what had already been approved by LWG. Some new range adaptors approved at the same meeting as P1642R11 were reviewed later, and so were not marked freestanding. They should be freestanding though. This applies to views::repeat (P2474R2), views::stride (P1899R3), and views::cartesian_product (P2374R4).

In the <ranges> synopsis, add "freestanding" comments to repeat_view, views::repeat, stride_view, views::stride, cartesian_product_view, and views::cartesian_product.

JeffGarland commented 1 year ago

This is issue https://cplusplus.github.io/LWG/issue3814

jensmaurer commented 1 year ago

Accepted.