Skip to content

Commit 233fc83

Browse files
committed
[LIBCXX] std::istream::sentry should be exported on MinGW
for testing by CI
1 parent db2e8d7 commit 233fc83

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

libcxx/include/istream

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,8 +1363,14 @@ operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Size>& __x) {
13631363
return __is;
13641364
}
13651365

1366+
# if defined(__MINGW32__) || defined(__CYGWIN__)
1367+
extern template _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<char>::sentry::sentry(basic_istream<char>& __is, bool __noskipws);
1368+
# endif
13661369
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<char>;
13671370
# if _LIBCPP_HAS_WIDE_CHARACTERS
1371+
# if defined(__MINGW32__) || defined(__CYGWIN__)
1372+
extern template _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<wchar_t>::sentry::sentry(basic_istream<wchar_t>& __is, bool __noskipws);
1373+
# endif
13681374
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<wchar_t>;
13691375
# endif
13701376
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_iostream<char>;

0 commit comments

Comments
 (0)