input/output operations   
(class template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/io/dsc_basic_spanstream&action=edit)  
Defined in header ` [ <strstream> ](/w/cpp/header/strstream
"cpp/header/strstream") `  
[ strstreambuf  ](/w/cpp/io/strstreambuf "cpp/io/strstreambuf") (deprecated in C++98)  (removed in C++26)  |  implements raw character array device   
(class)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/io/dsc_strstreambuf&action=edit)  
[ istrstream  ](/w/cpp/io/istrstream "cpp/io/istrstream") (deprecated in C++98)  (removed in C++26)  |  implements character array input operations   
(class)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/io/dsc_istrstream&action=edit)  
[ ostrstream  ](/w/cpp/io/ostrstream "cpp/io/ostrstream") (deprecated in C++98)  (removed in C++26)  |  implements character array output operations   
(class)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/io/dsc_ostrstream&action=edit)  
[ strstream  ](/w/cpp/io/strstream "cpp/io/strstream") (deprecated in C++98)  (removed in C++26)  |  implements character array input/output operations   
(class)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/io/dsc_strstream&action=edit)  
  
#####  Synchronized output  
  
Defined in header ` [ <syncstream> ](/w/cpp/header/syncstream
"cpp/header/syncstream") `  
[ basic_syncbuf  ](/w/cpp/io/basic_syncbuf "cpp/io/basic syncbuf") (C++20)  |  synchronized output device wrapper   
(class template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/io/dsc_basic_syncbuf&action=edit)  
[ basic_osyncstream  ](/w/cpp/io/basic_osyncstream "cpp/io/basic osyncstream") (C++20)  |  synchronized output stream wrapper   
(class template)  [ [edit]
](https://en.cppreference.com/mwiki/index.php?title=Template:cpp/io/dsc_basic_osyncstream&action=edit)  
  
####  [ [ edit ](/mwiki/index.php?title=cpp/io&action=edit&section=2 "Edit
section: Typedefs") ]  Typedefs

The following typedefs for common character types are provided in namespace `
std ` :

Type  |  Definition   
---|---  
Defined in header ` [ <ios> ](/w/cpp/header/ios "cpp/header/ios") `  
std::ios  |  [ std::  basic_ios  ](http://en.cppreference.com/w/cpp/io/basic_ios) < char  >  
std::wios  |  [ std::  basic_ios  ](http://en.cppreference.com/w/cpp/io/basic_ios) < wchar_t  >  
Defined in header ` [ <streambuf> ](/w/cpp/header/streambuf
"cpp/header/streambuf") `  
[ std::streambuf ](/w/cpp/io/basic_streambuf "cpp/io/basic streambuf") |  [ std::  basic_streambuf  ](http://en.cppreference.com/w/cpp/io/basic_streambuf) < char  >  
[ std::wstreambuf ](/w/cpp/io/basic_streambuf "cpp/io/basic streambuf") |  [ std::  basic_streambuf  ](http://en.cppreference.com/w/cpp/io/basic_streambuf) < wchar_t  >  
Defined in header ` [ <istream> ](/w/cpp/header/istream "cpp/header/istream")
`  
[ std::istream ](/w/cpp/io/basic_istream "cpp/io/basic istream") |  [ std::  basic_istream  ](http://en.cppreference.com/w/cpp/io/basic_istream) < char  >  
[ std::wistream ](/w/cpp/io/basic_istream "cpp/io/basic istream") |  [ std::  basic_istream  ](http://en.cppreference.com/w/cpp/io/basic_istream) < wchar_t  >  
[ std::iostream ](/w/cpp/io/basic_iostream "cpp/io/basic iostream") |  [ std::  basic_iostream  ](http://en.cppreference.com/w/cpp/io/basic_iostream) < char  >  
[ std::wiostream ](/w/cpp/io/basic_iostream "cpp/io/basic iostream") |  [ std::  basic_iostream  ](http://en.cppreference.com/w/cpp/io/basic_iostream) < wchar_t  >  
Defined in header ` [ <ostream> ](/w/cpp/header/ostream "cpp/header/ostream")
`  
[ std::ostream ](/w/cpp/io/basic_ostream "cpp/io/basic ostream") |  [ std::  basic_ostream  ](http://en.cppreference.com/w/cpp/io/basic_ostream) < char  >  
[ std::wostream ](/w/cpp/io/basic_ostream "cpp/io/basic ostream") |  [ std::  basic_ostream  ](http://en.cppreference.com/w/cpp/io/basic_ostream) < wchar_t  >  
D