[libcxx-commits] [PATCH] D103371: [libc++] Avoid `result_type` and `unary/binary_function` in <valarray>

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat May 29 14:15:45 PDT 2021


Quuxplusone added inline comments.


================
Comment at: libcxx/include/functional:1006-1008
 #if _LIBCPP_STD_VER > 11
 template <class _Tp = void>
 struct _LIBCPP_TEMPLATE_VIS bit_not : unary_function<_Tp, _Tp>
----------------
Btw, we could eliminate 9 lines of custom `__bit_not<T>` code from `<valarray>` if we made `std::bit_not<T>` here available in C++03 mode as an extension. Thoughts?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D103371



More information about the libcxx-commits mailing list