@@ -189,6 +189,16 @@ template <class _Elem, class _Traits = char_traits<_Elem>, class _Alloc = alloca
189
189
class basic_ostringstream;
190
190
template <class _Elem, class _Traits = char_traits<_Elem>, class _Alloc = allocator<_Elem>>
191
191
class basic_stringstream;
192
+ #if _HAS_CXX23
193
+ template <class _Elem, class _Traits = char_traits<_Elem>>
194
+ class basic_spanbuf;
195
+ template <class _Elem, class _Traits = char_traits<_Elem>>
196
+ class basic_ispanstream;
197
+ template <class _Elem, class _Traits = char_traits<_Elem>>
198
+ class basic_ospanstream;
199
+ template <class _Elem, class _Traits = char_traits<_Elem>>
200
+ class basic_spanstream;
201
+ #endif // _HAS_CXX23
192
202
template <class _Elem, class _Traits = char_traits<_Elem>>
193
203
class basic_filebuf;
194
204
template <class _Elem, class _Traits = char_traits<_Elem>>
@@ -232,6 +242,12 @@ using fstream = basic_fstream<char, char_traits<char>>;
232
242
using syncbuf = basic_syncbuf<char>;
233
243
using osyncstream = basic_osyncstream<char>;
234
244
#endif // _HAS_CXX20
245
+ #if _HAS_CXX23
246
+ using spanbuf = basic_spanbuf<char>;
247
+ using ispanstream = basic_ispanstream<char>;
248
+ using ospanstream = basic_ospanstream<char>;
249
+ using spanstream = basic_spanstream<char>;
250
+ #endif // _HAS_CXX23
235
251
236
252
using wios = basic_ios<wchar_t, char_traits<wchar_t>>;
237
253
using wstreambuf = basic_streambuf<wchar_t, char_traits<wchar_t>>;
@@ -250,6 +266,12 @@ using wfstream = basic_fstream<wchar_t, char_traits<wchar_t>>;
250
266
using wsyncbuf = basic_syncbuf<wchar_t>;
251
267
using wosyncstream = basic_osyncstream<wchar_t>;
252
268
#endif // _HAS_CXX20
269
+ #if _HAS_CXX23
270
+ using wspanbuf = basic_spanbuf<wchar_t>;
271
+ using wispanstream = basic_ispanstream<wchar_t>;
272
+ using wospanstream = basic_ospanstream<wchar_t>;
273
+ using wspanstream = basic_spanstream<wchar_t>;
274
+ #endif // _HAS_CXX23
253
275
254
276
#if defined(_CRTBLD)
255
277
using ushistream = basic_istream<unsigned short, char_traits<unsigned short>>;
0 commit comments