File tree Expand file tree Collapse file tree 4 files changed +10
-22
lines changed Expand file tree Collapse file tree 4 files changed +10
-22
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,15 @@ concept unsigned_integral = integral<_Tp> && !signed_integral<_Tp>;
34
34
template <class _Tp >
35
35
concept floating_point = is_floating_point_v<_Tp>;
36
36
37
+ // Concept helpers for the internal type traits for the fundamental types.
38
+
39
+ template <class _Tp >
40
+ concept __libcpp_unsigned_integer = __libcpp_is_unsigned_integer<_Tp>::value;
41
+ template <class _Tp >
42
+ concept __libcpp_signed_integer = __libcpp_is_signed_integer<_Tp>::value;
43
+ template <class _Tp >
44
+ concept __libcpp_floating_point = __libcpp_is_floating_point<_Tp>::value;
45
+
37
46
#endif // _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CONCEPTS)
38
47
39
48
_LIBCPP_END_NAMESPACE_STD
Original file line number Diff line number Diff line change 10
10
#ifndef _LIBCPP___FORMAT_FORMAT_ARG_H
11
11
#define _LIBCPP___FORMAT_FORMAT_ARG_H
12
12
13
+ #include < __concepts/arithmetic.h>
13
14
#include < __config>
14
15
#include < __format/format_error.h>
15
16
#include < __format/format_fwd.h>
16
17
#include < __functional_base>
17
18
#include < __variant/monostate.h>
18
- #include < concepts>
19
19
#include < string>
20
20
#include < string_view>
21
21
Original file line number Diff line number Diff line change @@ -152,28 +152,10 @@ namespace std {
152
152
#include < __concepts/swappable.h>
153
153
#include < __concepts/totally_ordered.h>
154
154
#include < __config>
155
- #include < type_traits>
156
155
#include < version>
157
156
158
157
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
159
158
#pragma GCC system_header
160
159
#endif
161
160
162
- _LIBCPP_BEGIN_NAMESPACE_STD
163
-
164
- #if _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CONCEPTS)
165
-
166
- // Concept helpers for the internal type traits for the fundamental types.
167
-
168
- template <class _Tp >
169
- concept __libcpp_unsigned_integer = __libcpp_is_unsigned_integer<_Tp>::value;
170
- template <class _Tp >
171
- concept __libcpp_signed_integer = __libcpp_is_signed_integer<_Tp>::value;
172
- template <class _Tp >
173
- concept __libcpp_floating_point = __libcpp_is_floating_point<_Tp>::value;
174
-
175
- #endif // _LIBCPP_STD_VER > 17 && !defined(_LIBCPP_HAS_NO_CONCEPTS)
176
-
177
- _LIBCPP_END_NAMESPACE_STD
178
-
179
161
#endif // _LIBCPP_CONCEPTS
Original file line number Diff line number Diff line change @@ -789,9 +789,6 @@ _LIBCPP_INLINE_VAR _LIBCPP_CONSTEXPR bool is_integral_v
789
789
790
790
#endif // __has_keyword(__is_integral)
791
791
792
- // __libcpp_is_signed_integer, __libcpp_is_unsigned_integer
793
- // <concepts> implements __libcpp_signed_integer, __libcpp_unsigned_integer
794
-
795
792
// [basic.fundamental] defines five standard signed integer types;
796
793
// __int128_t is an extended signed integer type.
797
794
// The signed and unsigned integer types, plus bool and the
You can’t perform that action at this time.
0 commit comments