Date: Sat, 22 Jul 2023 11:06:51 +0000 From: bugzilla-noreply@freebsd.org To: toolchain@FreeBSD.org Subject: [Bug 272654] The feature std::binary_function that has to be removed in C++17 isn't removed in clang-15 in FreeBSD 13.2 STABLE Message-ID: <bug-272654-29464-gJDRY7THC6@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-272654-29464@https.bugs.freebsd.org/bugzilla/> References: <bug-272654-29464@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272654 Mark Millard <marklmi26-fbsd@yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |marklmi26-fbsd@yahoo.com --- Comment #1 from Mark Millard <marklmi26-fbsd@yahoo.com> --- (In reply to Yuri Victorovich from comment #0) This is a misinterpretation of what removal from the language means. I'll just quote an old Microsoft blog post: https://devblogs.microsoft.com/cppblog/c17-feature-removals-and-deprecation= s/ says: "Technically, even removal isn=E2=80=99t the end of the road for a feature. Implementations can conform to C++17, yet accept features that were removed= in C++17, as an extension. For example, the STL=E2=80=99s Standardese has a = =E2=80=9CZombie names=E2=80=9D section, saying that =E2=80=9CIn namespace std, the following names are res= erved for previous standardization=E2=80=9D. Essentially, C++17 is saying that while = it doesn=E2=80=99t specify auto_ptr or unary_function or so forth, conformant C++17 programs aren=E2=80=99t allowed to interfere with such names (e.g. with macros), so = that conformant C++17 STL implementations can provide auto_ptr/etc. as a non-C++17-Standard extension. This allows implementers to choose whether th= ey physically remove features, and additionally makes it easier for the Commit= tee to remove features from the Standard." --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-272654-29464-gJDRY7THC6>