[libcxx-commits] [PATCH] D105582: [libc++][NFC] Move monostate to its own header.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Jul 7 12:31:20 PDT 2021


Mordante created this revision.
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++.

The format library uses `std::monostate`, but not a `std::variant`.
Moving `std::monostate` to its own header allows the format library to
reduce the amount of included code.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D105582

Files:
  libcxx/include/CMakeLists.txt
  libcxx/include/__variant/monostate.h
  libcxx/include/module.modulemap
  libcxx/include/variant

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D105582.357048.patch
Type: text/x-patch
Size: 4335 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210707/144c638a/attachment.bin>


More information about the libcxx-commits mailing list