diff --git a/concat.md b/concat.md index 31408b2..3e356f6 100644 --- a/concat.md +++ b/concat.md @@ -1,7 +1,7 @@ --- title: "`views::concat`" -document: D2542R6 -date: 2023-09-18 +document: P2542R6 +date: 2023-09-23 audience: SG9, LEWG, LWG author: - name: Hui Xie @@ -17,6 +17,8 @@ toc: true - remove `bidirectional_range` support for `!common_range && random_access_range && sized_range` - remove `random_access_range` support for `!common_range && random_access_range && sized_range` +- fix const-conversion constructor +- Various wording fixes ## R5 @@ -1181,15 +1183,16 @@ explicit constexpr @_iterator_@( ::: ```cpp -constexpr @_iterator_@(@_iterator_@ i) +constexpr @_iterator_@(@_iterator_@ it) requires Const && (convertible_to, iterator_t>&&...); ``` :::bq -[8]{.pnum} *Effects*: Initializes `@*parent_*@` with `i.@*parent_*@`, and -initializes `@*it_*@` with `std::move(i.@*it_*@)`. +[8]{.pnum} *Effects*: Initializes `@*parent_*@` with `it.@*parent_*@`, and +let `@*i*@` be `it.@*it_*@.index()`, initializes `@*it_*@` with +`@*base-iter*@(in_place_index<@*i*@>, get<@*i*@>(std::move(it.@*it_*@)))` ::: diff --git a/generated/concat.html b/generated/concat.html index fc8d4c6..48d22cd 100644 --- a/generated/concat.html +++ b/generated/concat.html @@ -4,7 +4,7 @@ - + `views::concat`