[libcxx-commits] [PATCH] D157787: [libc++][NFC] Refactor __enable_if return types to defaulted template parameters

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Aug 12 09:34:11 PDT 2023


philnik created this revision.
Herald added a project: All.
philnik requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

This brings most of the enable_ifs in libc++ to the same style. It also has the nice side-effect of reducing the size of names of these symbols, since the depedent return type is shorter.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157787

Files:
  libcxx/include/__algorithm/iterator_operations.h
  libcxx/include/__algorithm/sort.h
  libcxx/include/__condition_variable/condition_variable.h
  libcxx/include/__functional/bind.h
  libcxx/include/__hash_table
  libcxx/include/__split_buffer
  libcxx/include/__tree
  libcxx/include/array
  libcxx/include/cmath
  libcxx/include/forward_list
  libcxx/include/map
  libcxx/include/queue
  libcxx/include/stack
  libcxx/include/tuple

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157787.549624.patch
Type: text/x-patch
Size: 28233 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230812/080dc233/attachment-0001.bin>


More information about the libcxx-commits mailing list