[all-commits] [llvm/llvm-project] 8f9cc3: [libc++][NFC] Use std::enable_if instead of _Enabl...

Louis Dionne via All-commits all-commits at lists.llvm.org
Wed Sep 1 07:48:23 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8f9cc3bc295bae703593501cc937743b6dab696c
      https://github.com/llvm/llvm-project/commit/8f9cc3bc295bae703593501cc937743b6dab696c
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2021-09-01 (Wed, 01 Sep 2021)

  Changed paths:
    M libcxx/include/__utility/pair.h

  Log Message:
  -----------
  [libc++][NFC] Use std::enable_if instead of _EnableB helper in pair

This doesn't impact the compile-time efficiency, but we get better
diagnostics when an overload is disabled.




More information about the All-commits mailing list