From nobody Fri Jul 14 19:56:20 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 4R2j0N70Gvz2tl18 for ; Fri, 14 Jul 2023 19:56:20 +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 4R2j0N3LhCz4b49 for ; Fri, 14 Jul 2023 19:56:20 +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=1689364580; 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=x/Uad3vdsMl9Mw63yQ0GMvOAOrlcD8D1oTKOFKeVGgM=; b=BlL6qPKY8Nn6CAtHdHbTDhmkBqjb7Oy6bQxfpGgaiNT80nmZmn67coIfFIhjZLLt0Aa4oC VLWhn4JEIVMYlNnMvdTjqYAL14TXwyy/1qaF5/vYr0QczTsOu4dGgJi87RhPnzSauHVyYf d2jgj0dAFIVljA9xTCTz6v1sZkPfKhjHkU1dHMVvsKxULQFLhWFJVotN1fII3AFbHk5VIv 7vwB+Ksk/4xqBW7bLtod7jJsptFBHXR/ALkadJBGx1qopGMOJg2HEywZSnwWEPev9gODVg hCJ3xKryY3n1JHYC0XY4HUbBJhrQpakyl4OyucpG8vtJ1lG1yBwtKuktePmYDw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689364580; a=rsa-sha256; cv=none; b=nP2GU2Jv7s13bPEmxCj4KwzCQ9VZnPAP37iJI/NN31FkfhLAwx16hctJULCEjtmdOV0h2m 91YzQQIrb53IU2jmrk+XkEqcXvNjL3y5Dqz0Le6RZUkHoZbm5T6Gw9e2XDaCLrz1mri9h3 PcmpcChi29OwBhwfKy/DDWWwjLdsoXxltdYTd4FGv8FkbEnnT72/5ppKlfneS9EY6FaPLt dMeKPunm6uXrkHv3fw3ttEH50Ix9TfmAphmIEJtGo1uc7PwWxkN4juSYqWCIlxkiw19w66 pFDrchdMxheUScksiStBKSKQ13UoA/f/mVMqOJMAUMEs59oOX66SXcmHc7DjlA== 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 4R2j0N2QxbzW7L for ; Fri, 14 Jul 2023 19:56:20 +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 36EJuKCo054097 for ; Fri, 14 Jul 2023 19:56:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36EJuKji054096 for standards@FreeBSD.org; Fri, 14 Jul 2023 19:56:20 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: Fri, 14 Jul 2023 19:56:20 +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: dim@FreeBSD.org 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 #7 from Dimitry Andric --- Upstream implemented std::ranges::for_each here: https://github.com/llvm/llvm-project/commit/80045e9afa2f3545d3b1f2d06090a9a= 053a90307 However, the feature is gated behind a `_LIBCPP_HAS_NO_INCOMPLETE_RANGES` define, currently enabled by default in /usr/include/c++/v1/__config: // 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 In https://github.com/llvm/llvm-project/commit/b8cb1dc9ea87faa8e8e9ab7a31710a8= c0bb8b084 this was removed, so it shipped in libc++ 16.0.0. Unfortunately, if you install the llvm port, you only get the compiler, lin= ker etc, but the C++ library from the base system is still used, so on 13.2 tha= t be libc++ 15.0. --=20 You are receiving this mail because: You are the assignee for the bug.=