[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
Date: Sat, 22 Jul 2023 08:53:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272654 Bug ID: 272654 Summary: The feature std::binary_function that has to be removed in C++17 isn't removed in clang-15 in FreeBSD 13.2 STABLE Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: bugs@FreeBSD.org Reporter: yuri@freebsd.org This code: > #include <functional> > > class X : public std::binary_function<int,int,int> { > }; succeeds when compiled with --std=c++17, despite the C++ standard requiring it to be removed in C++17: https://en.cppreference.com/w/cpp/utility/functional/binary_function -- You are receiving this mail because: You are the assignee for the bug.