File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1818
1919_LIBCPP_BEGIN_NAMESPACE_STD
2020
21- #if _LIBCPP_STD_VER >= 23
21+ #if _LIBCPP_STD_VER >= 23 && __has_builtin(__reference_constructs_from_temporary)
2222
2323template <class _Tp , class _Up >
2424struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS reference_constructs_from_temporary
Original file line number Diff line number Diff line change 1818
1919_LIBCPP_BEGIN_NAMESPACE_STD
2020
21- #if _LIBCPP_STD_VER >= 23
21+ #if _LIBCPP_STD_VER >= 23 && __has_builtin(__reference_converts_from_temporary)
2222
2323template <class _Tp , class _Up >
2424struct _LIBCPP_TEMPLATE_VIS _LIBCPP_NO_SPECIALIZATIONS reference_converts_from_temporary
Original file line number Diff line number Diff line change @@ -107,10 +107,10 @@ export namespace std {
107107 using std::has_unique_object_representations;
108108
109109#if _LIBCPP_STD_VER >= 23
110- # if _LIBCPP_HAS_REFERENCE_CONSTRUCTS_FROM_TEMPORARY
110+ # if __has_builtin(__reference_constructs_from_temporary)
111111 using std::reference_constructs_from_temporary;
112112# endif
113- # if _LIBCPP_HAS_REFERENCE_CONVERTS_FROM_TEMPORARY
113+ # if __has_builtin(__reference_converts_from_temporary)
114114 using std::reference_converts_from_temporary;
115115# endif
116116#endif
@@ -291,10 +291,10 @@ export namespace std {
291291 using std::is_unsigned_v;
292292 using std::is_volatile_v;
293293#if _LIBCPP_STD_VER >= 23
294- # if _LIBCPP_HAS_REFERENCE_CONSTRUCTS_FROM_TEMPORARY
294+ # if __has_builtin(__reference_constructs_from_temporary)
295295 using std::reference_constructs_from_temporary_v;
296296# endif
297- # if _LIBCPP_HAS_REFERENCE_CONVERTS_FROM_TEMPORARY
297+ # if __has_builtin(__reference_converts_from_temporary)
298298 using std::reference_converts_from_temporary_v;
299299# endif
300300#endif
You can’t perform that action at this time.
0 commit comments