[all-commits] [llvm/llvm-project] 481462: [libc++][NFC] Replace conditional<>::type with __c...

Nikolas Klauser via All-commits all-commits at lists.llvm.org
Fri Jun 28 16:27:38 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4814628531451efb91ab0f4ab047f3a0469aef82
      https://github.com/llvm/llvm-project/commit/4814628531451efb91ab0f4ab047f3a0469aef82
  Author: Nikolas Klauser <nikolasklauser at berlin.de>
  Date:   2024-06-29 (Sat, 29 Jun 2024)

  Changed paths:
    M libcxx/include/__iterator/move_iterator.h
    M libcxx/include/__type_traits/common_type.h
    M libcxx/include/__type_traits/decay.h

  Log Message:
  -----------
  [libc++][NFC] Replace conditional<>::type with __conditional_t (#96745)

`__conditional_t` is move efficient than `conditional`, since it avoids
instantiating a template for every type combination.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list