From nobody Sun Jul 17 18:30:39 2022 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 4LmDDb32d1z4Wy0j for ; Sun, 17 Jul 2022 18:30:39 +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 4LmDDb1zB3z45rZ for ; Sun, 17 Jul 2022 18:30:39 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) 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 4LmDDb0Vffz18f6 for ; Sun, 17 Jul 2022 18:30:39 +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 26HIUdMG056323 for ; Sun, 17 Jul 2022 18:30:39 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 26HIUd0x056322 for standards@FreeBSD.org; Sun, 17 Jul 2022 18:30:39 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 255374] C++20 features (headers) std::concepts, std::format, std::numbers, std::source_location, etc. are missing Date: Sun, 17 Jul 2022 18:30:39 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: standards X-Bugzilla-Version: 13.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: In Progress X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: dim@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? mfc-stable13+ mfc-stable12? mfc-stable11- 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 ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1658082639; 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=BT4HHzrgzbfye/ftKliYKt+fxNHQ+csb9wTo//zoMDM=; b=FitLWJIBrowXAAJ8/stB8GApc+7OiaBTCXFpXyYfgtmL4h4UmZk2vekUqhTAPu36p9SIc1 dx1Ktx6ZxtcBs5Tq2MDgNJZgAw/Ew9qvjBnfwgepq1V65iDuMdUr1y7dvtqK0NJf64tp+T jI0WqrAry/xE3DS7NkpSYsPWttkuzX4HgUV4LsvXNd3JnTnC59YxQL6C3wHTZ/eiSiqqMl FN8uPGJuDhJojxM83bIcnTDlIBXcse05uOma/MNXqY5YcWcvrmFqojGEbUJv8XiIA7Bijx fWpbV834dcFP0+dieJwEFUfcon7Vog/SrviZsVwA+6NrN9Td5yRWkiPTIulpsQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1658082639; a=rsa-sha256; cv=none; b=Dg4fYpN/B1JC1nS1Nuv4RmUXKRhYvxpUI13DT5TfSgeDcqYUkAW3ueJSTl28VarxSB7wrX pXKiLtFR+WN++j55nblGYFMjbVrbVrg2pSh67uISyDV4lSn9quuMt9ixam/Yt2w+0w04/4 531ZI3RwyBpM0+AJA9VIf1OVlhG6pSUqrCxGNRAfHEoU1JmhWfI5QZd68ZmMQXsrEf5qhW Drpd05tJeNqK9E8s8AWx8hFJxTIufSmAdI/lXluPvQOMhnJVzJdt4PHCp91a/rdQDYGwSC 1J0SGHlaTF1k8sy9gBwD/kGEgtnS++4KqOVHYNZnqWo48VLv/NyS4ydRg1DV1A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D255374 --- Comment #15 from Dimitry Andric --- (In reply to Yuri Victorovich from comment #14) > Does LLVM maintain a list of missing C++ features? For libc++, there are these lists (from https://libcxx.llvm.org//index.html#c-dialect-support): * https://libcxx.llvm.org/Status/Cxx14.html (complete) * https://libcxx.llvm.org//Status/Cxx17.html (in progress) * https://libcxx.llvm.org//Status/Cxx20.html (in progress) * https://libcxx.llvm.org//Status/Cxx2b.html (in progress) Typically, libc++ requires the same llvm/clang version to build, but you can often get away with a one or two year old version. > Are all available features merged into the FreeBSD repository? I attempt to merge clang/libc++ (actually llvm-project) release versions af= ter they have been tested with an exp-run. While I don't merge *everything* und= er llvm-project, I always include complete copies of clang and libc++. > What about std::format and std::vformat? libc++ 13.0 started with some incomplete support, which had to be turned on= via LIBCXX_ENABLE_INCOMPLETE_FEATURES, but we didn't use it. libc++ 14.0 has so= me improvements, but it is not finished: "There=E2=80=99s support for the C++20 header . Some parts are stil= l missing, most notably the compile-time format string validation. Some functions are known to be inefficient, both in memory usage and performance. The implementation isn=E2=80=99t API- or ABI-stable and therefore considered ex= perimental. (Some not-yet-implemented papers require an API-break.) As a result, it is disabled by default, however vendors can enable the header by using -DLIBCXX_ENABLE_INCOMPLETE_FEATURES=3DON when configuring their build." I'm unsure if there are any promises to have these features completely fini= shed for libc++ 15.0. --=20 You are receiving this mail because: You are on the CC list for the bug.=