9 #ifndef _dadc5c51_56d9_417e_9a96_100ed2838c2a 10 #define _dadc5c51_56d9_417e_9a96_100ed2838c2a 14 #include <boost/iostreams/device/array.hpp> 15 #include <boost/iostreams/stream.hpp> 16 #include <boost/iostreams/device/back_inserter.hpp> 22 typedef boost::iostreams::stream<boost::iostreams::array_source>
IStringStream;
25 T
as(std::string
const &
string)
28 IStringStream stream(&
string[0],
string.size());
34 typedef boost::iostreams::stream<
35 boost::iostreams::back_insert_device<std::string>
40 #endif // _dadc5c51_56d9_417e_9a96_100ed2838c2a boost::iostreams::stream< boost::iostreams::back_insert_device< std::string > > OStringStream
Sink stringstream which does not copy its buffer.
Definition: StringStream.h:36
boost::iostreams::stream< boost::iostreams::array_source > IStringStream
Source stringstream which does not copy its buffer.
Definition: StringStream.h:22
Definition: Association.h:24
T as(std::string const &string)
Definition: StringStream.h:25