[libcxx-commits] [PATCH] D116172: [libc++] Add the version header to compare.

Mark de Wever via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Dec 22 09:15:29 PST 2021


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

This isn't strictly needed yet, but when __cpp_lib_three_way_comparison
is finished it will be required.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D116172

Files:
  libcxx/include/compare


Index: libcxx/include/compare
===================================================================
--- libcxx/include/compare
+++ libcxx/include/compare
@@ -145,6 +145,7 @@
 #include <__compare/three_way_comparable.h>
 #include <__compare/weak_order.h>
 #include <__config>
+#include <version>
 
 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
 #pragma GCC system_header


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D116172.395889.patch
Type: text/x-patch
Size: 373 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20211222/f74aeb46/attachment.bin>


More information about the libcxx-commits mailing list