Skip to content

Commit 8ca8bdc

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

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

libcxx/include/istream

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1363,8 +1363,16 @@ 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
1368+
basic_istream<char>::sentry::sentry(basic_istream<char>& __is, bool __noskipws);
1369+
# endif
13661370
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<char>;
13671371
# if _LIBCPP_HAS_WIDE_CHARACTERS
1372+
# if defined(__MINGW32__) || defined(__CYGWIN__)
1373+
extern template _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS
1374+
basic_istream<wchar_t>::sentry::sentry(basic_istream<wchar_t>& __is, bool __noskipws);
1375+
# endif
13681376
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_istream<wchar_t>;
13691377
# endif
13701378
extern template class _LIBCPP_EXTERN_TEMPLATE_TYPE_VIS basic_iostream<char>;

0 commit comments

Comments
 (0)