File tree Expand file tree Collapse file tree 19 files changed +20
-28
lines changed
test/libcxx/transitive_includes Expand file tree Collapse file tree 19 files changed +20
-28
lines changed Original file line number Diff line number Diff line change @@ -431,7 +431,7 @@ set(files
431
431
__fwd/bit_reference.h
432
432
__fwd/complex.h
433
433
__fwd/fstream.h
434
- __fwd/hash .h
434
+ __fwd/functional .h
435
435
__fwd/ios.h
436
436
__fwd/istream.h
437
437
__fwd/mdspan.h
Original file line number Diff line number Diff line change 14
14
#include < __algorithm/replace_copy.h>
15
15
#include < __availability>
16
16
#include < __config>
17
- #include < __functional/hash.h>
18
17
#include < __functional/unary_function.h>
19
- #include < __fwd/hash .h>
18
+ #include < __fwd/functional .h>
20
19
#include < __iterator/back_insert_iterator.h>
21
20
#include < __iterator/iterator_traits.h>
22
21
#include < __type_traits/decay.h>
Original file line number Diff line number Diff line change 13
13
#include < __config>
14
14
#include < __functional/invoke.h>
15
15
#include < __functional/weak_result_type.h>
16
+ #include < __fwd/functional.h>
16
17
#include < __type_traits/decay.h>
17
18
#include < __type_traits/is_reference_wrapper.h>
18
19
#include < __type_traits/is_void.h>
Original file line number Diff line number Diff line change 12
12
#include < __config>
13
13
#include < __functional/invoke.h>
14
14
#include < __functional/unary_function.h>
15
- #include < __fwd/hash .h>
15
+ #include < __fwd/functional .h>
16
16
#include < __tuple/sfinae_helpers.h>
17
17
#include < __type_traits/is_copy_constructible.h>
18
18
#include < __type_traits/is_default_constructible.h>
Original file line number Diff line number Diff line change 11
11
#define _LIBCPP___FUNCTIONAL_IDENTITY_H
12
12
13
13
#include < __config>
14
- #include < __functional/reference_wrapper .h>
14
+ #include < __fwd/functional .h>
15
15
#include < __type_traits/integral_constant.h>
16
16
#include < __utility/forward.h>
17
17
Original file line number Diff line number Diff line change 6
6
//
7
7
// ===---------------------------------------------------------------------===//
8
8
9
- #ifndef _LIBCPP___FWD_HASH_H
10
- #define _LIBCPP___FWD_HASH_H
9
+ #ifndef _LIBCPP___FWD_FUNCTIONAL_H
10
+ #define _LIBCPP___FWD_FUNCTIONAL_H
11
11
12
12
#include < __config>
13
13
@@ -20,6 +20,9 @@ _LIBCPP_BEGIN_NAMESPACE_STD
20
20
template <class >
21
21
struct _LIBCPP_TEMPLATE_VIS hash;
22
22
23
+ template <class >
24
+ class _LIBCPP_TEMPLATE_VIS reference_wrapper;
25
+
23
26
_LIBCPP_END_NAMESPACE_STD
24
27
25
- #endif // _LIBCPP___FWD_HASH_H
28
+ #endif // _LIBCPP___FWD_FUNCTIONAL_H
Original file line number Diff line number Diff line change 12
12
13
13
#include < __compare/ordering.h>
14
14
#include < __config>
15
- #include < __fwd/hash .h>
15
+ #include < __fwd/functional .h>
16
16
#include < __fwd/ostream.h>
17
17
#include < __thread/support.h>
18
18
Original file line number Diff line number Diff line change 14
14
#include < __chrono/convert_to_timespec.h>
15
15
#include < __chrono/duration.h>
16
16
#include < __config>
17
- #include < __fwd/hash.h>
18
17
#include < ctime>
19
18
#include < errno.h>
20
19
#include < pthread.h>
Original file line number Diff line number Diff line change 10
10
#define _LIBCPP___TYPE_TRAITS_IS_REFERENCE_WRAPPER_H
11
11
12
12
#include < __config>
13
+ #include < __fwd/functional.h>
13
14
#include < __type_traits/integral_constant.h>
14
15
#include < __type_traits/remove_cv.h>
15
16
19
20
20
21
_LIBCPP_BEGIN_NAMESPACE_STD
21
22
22
- template <class _Tp >
23
- class _LIBCPP_TEMPLATE_VIS reference_wrapper;
24
-
25
23
template <class _Tp >
26
24
struct __is_reference_wrapper_impl : public false_type {};
27
25
template <class _Tp >
Original file line number Diff line number Diff line change 10
10
#define _LIBCPP___TYPE_TRAITS_UNWRAP_REF_H
11
11
12
12
#include < __config>
13
+ #include < __fwd/functional.h>
13
14
#include < __type_traits/decay.h>
14
15
15
16
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
@@ -23,17 +24,11 @@ struct __unwrap_reference {
23
24
typedef _LIBCPP_NODEBUG _Tp type;
24
25
};
25
26
26
- template <class _Tp >
27
- class reference_wrapper ;
28
-
29
27
template <class _Tp >
30
28
struct __unwrap_reference <reference_wrapper<_Tp> > {
31
29
typedef _LIBCPP_NODEBUG _Tp& type;
32
30
};
33
31
34
- template <class _Tp >
35
- struct decay ;
36
-
37
32
#if _LIBCPP_STD_VER >= 20
38
33
template <class _Tp >
39
34
struct unwrap_reference : __unwrap_reference<_Tp> {};
You can’t perform that action at this time.
0 commit comments