Skip to content

Commit 1f38dc2

Browse files
committed
Try to fix CI
1 parent 4873e60 commit 1f38dc2

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

libcxx/include/__type_traits/common_reference.h

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,19 @@ struct __common_ref {};
130130

131131
// Note C: For the common_reference trait applied to a parameter pack [...]
132132

133+
template <class...>
134+
struct _LIBCPP_NO_SPECIALIZATIONS common_reference;
135+
136+
template <class... _Types>
137+
using common_reference_t = typename common_reference<_Types...>::type;
138+
139+
template <class, class, template <class> class, template <class> class>
140+
struct basic_common_reference {};
141+
142+
_LIBCPP_DIAGNOSTIC_PUSH
143+
# if __has_warning("-Winvalid-specialization")
144+
_LIBCPP_CLANG_DIAGNOSTIC_IGNORED("-Winvalid-specialization")
145+
# endif
133146
// bullet 1 - sizeof...(T) == 0
134147
template <>
135148
struct common_reference<> {};

0 commit comments

Comments
 (0)