Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Jan 2023 02:36:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        standards@FreeBSD.org
Subject:   [Bug 268996] The C++20 feature std::ranges::views::split is missing
Message-ID:  <bug-268996-99@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268996

            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=3D239524&action=
=3Dedit
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::rang=
es::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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-268996-99>