[Bug 271931] The C++20 feature 'std::ranges::copy' is missing

[email protected]
Newsgroups gmane.os.freebsd.devel.standards
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271931

            Bug ID: 271931
           Summary: The C++20 feature 'std::ranges::copy' is missing
           Product: Base System
           Version: 13.2-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: standards
          Assignee: [email protected]
          Reporter: [email protected]

The example from https://en.cppreference.com/w/cpp/algorithm/ranges/copy fails
to compile:
> c++ranges-copy.cpp:16:5: error: no member named 'copy' in namespace 'std::ranges'; did you mean 'std::copy'?
>     std::ranges::copy(source.begin(), source.end(),
>     ^~~~~~~~~~~~~~~~~
>     std::copy

The page tracking the status of C++20 features
https://en.cppreference.com/w/cpp/20 doesn't list 'std::ranges::copy' which
means that it should be available?

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.