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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 10 Jun 2023 00:40:34 UTC
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: standards@FreeBSD.org
          Reporter: yuri@freebsd.org

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.