[libcxx-commits] [PATCH] D157748: [libc++][NFC] Refactor enable_ifs in defaulted arguments to defaulted template arguments

Nikolas Klauser via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Fri Aug 11 11:57:12 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 arguments don't get mangled anymore.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D157748

Files:
  libcxx/include/__chrono/duration.h
  libcxx/include/__chrono/time_point.h
  libcxx/include/__iterator/wrap_iter.h
  libcxx/include/__memory/shared_ptr.h
  libcxx/include/__memory/unique_ptr.h
  libcxx/include/__random/discard_block_engine.h
  libcxx/include/__random/independent_bits_engine.h
  libcxx/include/__random/linear_congruential_engine.h
  libcxx/include/__random/mersenne_twister_engine.h
  libcxx/include/__random/shuffle_order_engine.h
  libcxx/include/__random/subtract_with_carry_engine.h
  libcxx/include/__system_error/error_code.h
  libcxx/include/__system_error/error_condition.h
  libcxx/include/deque
  libcxx/include/vector

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D157748.549479.patch
Type: text/x-patch
Size: 30958 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20230811/81901f97/attachment-0001.bin>


More information about the libcxx-commits mailing list