[Bug 268996] The C++20 feature std::ranges::views::split is missing

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 17 Jan 2023 02:36:37 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268996

            Bug ID: 268996
           Summary: The C++20 feature std::ranges::views::split is missing
           Product: Base System
           Version: 13.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: standards@FreeBSD.org
          Reporter: yuri@freebsd.org
 Attachment #239524 text/plain
         mime type:

Created attachment 239524
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=239524&action=edit
testcase.cpp

The attached testcase uses the C++20 feature std::ranges::views::split
The C++ reference says that it should exist:
https://en.cppreference.com/w/cpp/ranges/split_view
Both clang-14 from the base and clang-16 fail:
> testcase.cpp:9:31: error: no member named 'split' in namespace 'std::ranges::views'
>         | std::ranges::views::split(' ')
>           ~~~~~~~~~~~~~~~~~~~~^
> 1 error generated.

I couldn't match this feature with any missing parts of the C++20 standard in
the "Clang C++20 implementation status" in
https://clang.llvm.org/cxx_status.html

-- 
You are receiving this mail because:
You are the assignee for the bug.