diff options
| author | Louis Dionne <ldionne.2@gmail.com> | 2024-09-16 15:06:20 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-16 15:06:20 -0400 |
| commit | 09e3a360581dc36d0820d3fb6da9bd7cfed87b5d (patch) | |
| tree | 73ede9c12022fdb66dfca29777fa134a3c21e82a /libcxx/include/optional | |
| parent | 1bfc3d0de591b6b4e18ee720bd24f58e45d597ef (diff) | |
[libc++][modules] Fix missing and incorrect includes (#108850)
This patch adds a large number of missing includes in the libc++ headers
and the test suite. Those were found as part of the effort to move
towards a mostly monolithic top-level std module.
Diffstat (limited to 'libcxx/include/optional')
| -rw-r--r-- | libcxx/include/optional | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libcxx/include/optional b/libcxx/include/optional index b0933b59b25d..7578833685ec 100644 --- a/libcxx/include/optional +++ b/libcxx/include/optional @@ -179,6 +179,7 @@ namespace std { #include <__assert> #include <__compare/compare_three_way_result.h> +#include <__compare/ordering.h> #include <__compare/three_way_comparable.h> #include <__concepts/invocable.h> #include <__config> @@ -195,6 +196,8 @@ namespace std { #include <__type_traits/conjunction.h> #include <__type_traits/decay.h> #include <__type_traits/disjunction.h> +#include <__type_traits/enable_if.h> +#include <__type_traits/invoke.h> #include <__type_traits/is_array.h> #include <__type_traits/is_assignable.h> #include <__type_traits/is_constructible.h> |
