[libcxx-commits] [PATCH] D101233: [libc++] Adds __utility/to_underlying.h.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Sat Apr 24 08:38:33 PDT 2021


Mordante created this revision.
Mordante added a reviewer: curdeius.
Herald added a subscriber: mgorny.
Mordante requested review of this revision.
Herald added a project: libc++.
Herald added a subscriber: libcxx-commits.
Herald added a reviewer: libc++.

During the review of D97115 <https://reviews.llvm.org/D97115> it was mentioned adding the `<utility>`
header for `__to_underlying` was a bit unfortunate. Nowadays we tend to
implement smaller headers, so a good reason to move `std::to_underlying`
to its own header and adjust `<charconv>` to use the new header.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101233

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__utility/to_underlying.h
  libcxx/include/charconv
  libcxx/include/utility

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101233.340282.patch
Type: text/x-patch
Size: 3122 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210424/35dad8ea/attachment.bin>


More information about the libcxx-commits mailing list