Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Jul 2023 08:53:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@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-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272654

            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>
>=20
> class X : public std::binary_function<int,int,int> {
> };

succeeds when compiled with --std=3Dc++17, despite the C++ standard requiri=
ng it
to be removed in C++17:
https://en.cppreference.com/w/cpp/utility/functional/binary_function

--=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-227>