File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -108,7 +108,9 @@ export namespace std {
108108
109109#if _LIBCPP_STD_VER >= 23
110110 using std::reference_constructs_from_temporary;
111- # if __has_builtin(__reference_converts_from_temporary)
111+ # if __has_builtin(__reference_converts_from_temporary) || \
112+ (defined (_LIBCPP_COMPILER_CLANG_BASED) && (__clang_major__ >= 19 ) && (__clang_minor__ >= 1 ) && \
113+ (__clang_patchlevel__ >= 2 ))
112114 using std::reference_converts_from_temporary;
113115# endif
114116#endif
@@ -290,7 +292,9 @@ export namespace std {
290292 using std::is_volatile_v;
291293#if _LIBCPP_STD_VER >= 23
292294 using std::reference_constructs_from_temporary_v;
293- # if __has_builtin(__reference_converts_from_temporary)
295+ # if __has_builtin(__reference_converts_from_temporary) || \
296+ (defined (_LIBCPP_COMPILER_CLANG_BASED) && (__clang_major__ >= 19 ) && (__clang_minor__ >= 1 ) && \
297+ (__clang_patchlevel__ >= 2 ))
294298 using std::reference_converts_from_temporary_v;
295299# endif
296300#endif
You can’t perform that action at this time.
0 commit comments