On Thu, 19 Mar 2026 at 14:20, Jakub Jelinek <[email protected]> wrote:
>
> Hi!
>
> views::indices were added P3060R3 r16-4511, but not exported.
>
> Tested on x86_64-linux, ok for trunk?

OK, thanks


>
> 2026-03-19  Jakub Jelinek  <[email protected]>
>
>         * src/c++23/std.cc.in: Export views::indices.
>
> --- libstdc++-v3/src/c++23/std.cc.in.jj 2026-03-19 14:52:26.683513322 +0100
> +++ libstdc++-v3/src/c++23/std.cc.in    2026-03-19 15:00:08.751617173 +0100
> @@ -2795,6 +2795,9 @@ export namespace std
>      using ranges::to_input_view;
>      namespace views { using views::to_input; }
>  #endif
> +#ifdef __cpp_lib_ranges_indices // C++ >= 26
> +    namespace views { using views::indices; }
> +#endif
>    }
>  #if __glibcxx_ranges_to_container // C++ >= 23
>    namespace ranges { using ranges::to; }
>
>         Jakub
>

Reply via email to