From nobody Sat Jun 10 03:56:40 2023 X-Original-To: standards@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QdPJn5Yqcz4cNHw for ; Sat, 10 Jun 2023 03:56:41 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QdPJm46R1z4M79 for ; Sat, 10 Jun 2023 03:56:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686369400; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Ch8JUQuMn7lU856QpaONG4+Yp/Slm/jGYrm0weDWNU4=; b=xOxbNbidhpO8z84UlOIDe8lHH6KPsqkjfEEEsSqqhFl955T2FpUpKwVhJURsaUP8IW2dDw ll1c+6ly0HCkiD1jdf38BhqdsLQ7w8da29iTV5pMPXbFuKq5MDPl7vIhsM5dR0HupkFfxy EciqlcE/ZxUfWiwSol+woVBZ09YAWWzLe3Zt9iPCjMNk8IMezXy4GZJHSkA6gDiwLuW9gx NWTVC24n5dZqbVrxnEqGh90bEd66U1VA3iD8cZQmzEhVCVG+a5GoUN8HiPHrs2HQ7uyHLv htrqsDbdDO9Mzs6AStDZflmP4GVcNCvtItrYJg9D0c4UxDjO2vjwd1fG4mOR5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686369400; a=rsa-sha256; cv=none; b=LaVhFaIo5LZ433PcmwPHZIOVpAJfGGkBlZBwTuCLu1kKyIJHF2mIxYAwO5KSB8g/3zqWSI 85fLqP5RF/2lO07luac/exuKWZPCPPYvySuvdC32j1uRpXIYb0Vz7CBJRHXQvBuvzIM1FT OQnq+PkIFcTE9OZgcW+OGOF2g2RVSUMw2+sCA7KDb5B92J5B70iwcnyr5dGC2BD/tRQlLf WKswr7hAcKbrau5ftEKLe1pEJmN23CjbEki93Jwpyol228cw7CFirmpmc0PmZrTdRcwzVp HoTkSR12XJm8gxjWXmpLo/Lk2HReP8IfphH1EFAVzRMjVLH8DZBxqEuEH3NANg== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QdPJm39gwz12VT for ; Sat, 10 Jun 2023 03:56:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 35A3ueTb054467 for ; Sat, 10 Jun 2023 03:56:40 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35A3ue56054466 for standards@FreeBSD.org; Sat, 10 Jun 2023 03:56:40 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: standards@FreeBSD.org Subject: [Bug 271931] The C++20 feature 'std::ranges::copy' is missing Date: Sat, 10 Jun 2023 03:56:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: marklmi26-fbsd@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: standards@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Standards compliance List-Archive: https://lists.freebsd.org/archives/freebsd-standards List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-standards@freebsd.org X-BeenThere: freebsd-standards@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271931 --- Comment #3 from Mark Millard --- Trying for some slight useful information this time: When I look in /usr/include/c++/v1/algorithm I see: . . . #include <__algorithm/ranges_copy.h> . . . Looking there: . . . #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES) _LIBCPP_BEGIN_NAMESPACE_STD namespace ranges { template using copy_result =3D in_out_result<_InIter, _OutIter>; namespace __copy { . . . } // namespace __copy inline namespace __cpo { inline constexpr auto copy =3D __copy::__fn{}; } // namespace __cpo } // namespace ranges _LIBCPP_END_NAMESPACE_STD #endif // _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_INCOMPLETE_RANGES) . . . Thus: # c++ -std=3Dc++2b -pedantic -Wall -Wextra -fexperimental-library ranges_co= py.cpp # ./a.out destination contains: 0 1 2 3 4 5 6 7 8 9=20 odd numbers in destination are: 1 3 5 7 9=20 from /usr/include/c++/v1/__config having: # if __has_feature(experimental_library) # ifndef _LIBCPP_ENABLE_EXPERIMENTAL # define _LIBCPP_ENABLE_EXPERIMENTAL # endif # endif // Incomplete features get their own specific disabling flags. This makes it // easier to grep for target specific flags once the feature is complete. # if !defined(_LIBCPP_ENABLE_EXPERIMENTAL) && !defined(_LIBCPP_BUILDING_LIBRARY) # define _LIBCPP_HAS_NO_INCOMPLETE_FORMAT # define _LIBCPP_HAS_NO_INCOMPLETE_RANGES # endif 15.0.7 likely requires -fexperimental-library for many things to be enabled because of the overall thing being incomplete or known to be partially broken, such as C++20 ranges overall having some parts not sufficiently handled (apparently). --=20 You are receiving this mail because: You are the assignee for the bug.=