[all-commits] [llvm/llvm-project] a354fd: [libc++] Adds __utility/to_underlying.h.

mordante via All-commits all-commits at lists.llvm.org
Sun Apr 25 04:27:40 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a354fd56c5046cc4317a301d90908520f6c4717a
      https://github.com/llvm/llvm-project/commit/a354fd56c5046cc4317a301d90908520f6c4717a
  Author: Mark de Wever <koraq at xs4all.nl>
  Date:   2021-04-25 (Sun, 25 Apr 2021)

  Changed paths:
    M libcxx/include/CMakeLists.txt
    A libcxx/include/__utility/to_underlying.h
    M libcxx/include/charconv
    M libcxx/include/utility

  Log Message:
  -----------
  [libc++] Adds __utility/to_underlying.h.

During the review of 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.

Differential Revision: https://reviews.llvm.org/D101233




More information about the All-commits mailing list