sstream header

From Cppwiki

(Redirected from stringstream)
Jump to: navigation, search

sstream is a C++ Standard Library #include. It is responsible for defining std::basic_istringstream, std::basic_ostringstream and std::basic_stringstream along with related functionality.

Contents

Types defined by <sstream>

 std::basic_istringstream - An in-memory input stream
 std::basic_ostringstream - An in-memory output stream
 std::basic_stringstream = An in-memory stream for both input and output.
 std::basic_stringbuf - A stream buffer for in-memory operations

Typedefs defined by <sstream>

char stringstream typedefs

 typedef std::basic_stringbuf<char> stringbuf;
 typedef std::basic_istringstream<char> istringstream;
 typedef std::basic_ostringstream<char> ostringstream;
 typedef std::basic_stringstream<char> stringstream;

wchar_t stringstream typedefs

 typedef std::basic_stringbuf<wchar_t> wstringbuf;
 typedef std::basic_istringstream<wchar_t> wistringstream;
 typedef std::basic_ostringstream<wchar_t> wostringstream;
 typedef std::basic_stringstream<wchar_t> wstringstream;
Personal tools