[all-commits] [llvm/llvm-project] d39f5c: [libc++] Avoid `result_type` and `unary/binary_fun...

Quuxplusone via All-commits all-commits at lists.llvm.org
Mon May 31 08:29:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d39f5c3cb97e769f960681b3132724e16b756e80
      https://github.com/llvm/llvm-project/commit/d39f5c3cb97e769f960681b3132724e16b756e80
  Author: Arthur O'Dwyer <arthur.j.odwyer at gmail.com>
  Date:   2021-05-31 (Mon, 31 May 2021)

  Changed paths:
    M libcxx/include/__functional_base
    M libcxx/include/functional
    M libcxx/include/valarray

  Log Message:
  -----------
  [libc++] Avoid `result_type` and `unary/binary_function` in <valarray>.

Give each of the relevant functional operators a `__result_type`
instead, so that we can keep using those typedefs in <valarray>
even when the public binder typedefs are removed in C++20.

Differential Revision: https://reviews.llvm.org/D103371




More information about the All-commits mailing list