From nobody Mon Jun 1 05:39:02 2026 X-Original-To: bugs@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 4gTN7B2Qxbz6gRHS for ; Mon, 01 Jun 2026 05:39:02 +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 "R13" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4gTN7B1gslz3vJM for ; Mon, 01 Jun 2026 05:39:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780292342; 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; bh=DHTO5xuU5rnBluvBXq4go0uA4mf/i051nhrVazXEVxk=; b=H/OjkpSEwT2hIsi7mCOhlQjXZToQIdXQm8f5k0x2k8BLKSfEN3LDUsYVHueoJwUpetIVHe kn4s75oD6npOXoBYojPhAfKOg+7WaI3PFHkAj28tRYi/hzhW1ObGdj4rwteI+rsPcYr0vG LuRKhvP8baiImiu5PKsHk7uwbiqAJgivSpbHsZr3olLNjNBFQ+HnQBUUNQ4Arly6R3I3xo PMQBqaMazOnirYNUgHRFaF2D6K4KKUi1OcQv/EinDc4AZ5JS+rbg5jsL8JbCh6opCNGT5a NpeTM7KToPM7pnBuV7AGSm5J6KsiZCY5Bk96AKPIu8tbJ54hgOVqZRcTjzVpQQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1780292342; a=rsa-sha256; cv=none; b=Zy5PhLqCayQaJLuTlh+qUmCYUpX9/BfXNwLmgWuqiPfMxd9nIYoMZ5m6tEtr9bXwEi28zk nRet/qt8jdna9P9llLz63/bH2iF/PYyYDuxfuE7k9z6J7LCj5ZO8fvLn71aR6P/uPEjMcH VGFdbRNMBncp3s5PCZMnDNEkzEiC4Sqr2xEIEBM8brlV5jd1LvahHLgKkYUrt1T55KhEN7 KWV7+cOqtC2+e9g/zKJZevf5EqYA2X+lCwgAd5m4lyfS5Q8R6hp6iY4KE7QBnRQo2yBzmR t0Z86WCSfz1z1onjI67FHgJC2i4N529izOMXAbBz1OMoOjiY/WYYjkMn30c5NQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1780292342; 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; bh=DHTO5xuU5rnBluvBXq4go0uA4mf/i051nhrVazXEVxk=; b=o+R14QzjhDe4ZZ52UN7zdJV3N+rI2Zv80g3SPJGFFJRF020e76qm7Ht1WCkHgklV2LSROx bUmXzC8cNc6a1SGr27iL4726B2U8nQ/aHszPsvjJhTGoJ+jVb2mnNSrnTbwl52g9F4fMOo YR97vvYD7mV1F5qffoQfoytQ0/SGSsazVIIfNEZXs91NNXmb69U5CYY9Xvb4lHa9xuClld 3k2ZsSm1Na/VKYatrfNQI93+CNafrnoZikXEZI3PaQFyyEui4lcEkmx3iAPueQuX3cJ7JH yl6G6dKseAvUVVH5p+Ar13RRAWuv6RCEx19TLEepCNOCAYALU0iQugg3Klo//Q== 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 4gTN7B176zz8jd for ; Mon, 01 Jun 2026 05:39:02 +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 6515d28o089605 for ; Mon, 1 Jun 2026 05:39:02 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 6515d2aK089604 for bugs@FreeBSD.org; Mon, 1 Jun 2026 05:39:02 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: bugs@FreeBSD.org Subject: [Bug 295767] The C++ feature std::from_chars (with float value) is missing Date: Mon, 01 Jun 2026 05:39:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 15.0-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: yuri@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter attachments.mimetype attachments.created Message-ID: Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@FreeBSD.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D295767 Bug ID: 295767 Summary: The C++ feature std::from_chars (with float value) is missing Product: Base System Version: 15.0-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org Attachment #271391 text/plain mime type: Created attachment 271391 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D271391&action= =3Dedit from_chars.cpp The attached from_chars.cpp program fails to compile: > $ c++ -std=3Dc++23 from_chars.cpp > from_chars.cpp:13:20: error: call to deleted function 'from_chars' > 13 | auto [ptr, ec] =3D std::from_chars(str.data(), str.data() + str= .size(), value); > | ^~~~~~~~~~~~~~~ > /usr/include/c++/v1/__charconv/from_chars_integral.h:38:19: note: candida= te function has been explicitly deleted > 38 | from_chars_result from_chars(const char*, const char*, bool, int = =3D 10) =3D delete; > | ^ > /usr/include/c++/v1/__charconv/from_chars_integral.h:224:1: note: candida= te template ignored: requirement 'is_integral::value' was not satisf= ied [with _Tp =3D float] > 224 | from_chars(const char* __first, const char* __last, _Tp& __value)= { > | ^ > /usr/include/c++/v1/__charconv/from_chars_integral.h:230:1: note: candida= te function template not viable: requires 4 arguments, but 3 were provided > 230 | from_chars(const char* __first, const char* __last, _Tp& __value,= int __base) { > | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~= ~~~~~~~~~~~ > 1 error generated. despite the C++ standard saying that it should exist from c++17: https://en.cppreference.com/cpp/utility/from_chars --=20 You are receiving this mail because: You are the assignee for the bug.=