[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

From: <bugzilla-noreply_at_freebsd.org>
Date: Sat, 22 Jul 2023 11:06:51 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272654

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-deprecations/

says:

"Technically, even removal isn’t 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’s Standardese has a “Zombie names”
section, saying that “In namespace std, the following names are reserved for
previous standardization”. Essentially, C++17 is saying that while it doesn’t
specify auto_ptr or unary_function or so forth, conformant C++17 programs
aren’t 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 they
physically remove features, and additionally makes it easier for the Committee
to remove features from the Standard."

-- 
You are receiving this mail because:
You are the assignee for the bug.