[libcxx-commits] [PATCH] D103753: [libc++] [P0619] Add _LIBCPP_ABI_NO_BINDER_BASES and remove binder typedefs in C++20.

Wmbat via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Jun 5 15:03:36 PDT 2021


Wmbat accepted this revision.
Wmbat added a comment.

LGTM!



================
Comment at: libcxx/include/functional:79
 template <class T> // <class T=void> in C++14
-struct plus : binary_function<T, T, T>
-{
+struct plus {
     T operator()(const T& x, const T& y) const;
----------------
Is it ok to remove the inheritance to `binary_function` from all arithmetic operators for all C++ versions?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D103753/new/

https://reviews.llvm.org/D103753



More information about the libcxx-commits mailing list