processor">#include</SPAN> <A STYLE="text-decoration:none" href="../../../../boost/iostreams/stream.hpp"><SPAN CLASS="literal">&lt;boost/iostreams/stream.hpp&gt;</SPAN></A>

    const char*           h = <SPAN CLASS="literal">"Hello World!"</SPAN>;
    stream&lt;array_source&gt;  in(h, std::strlen(h));
    std::string           hello;
    std::getline(in, hello);
    std::cout &lt;&lt; hello &lt;&lt; "\n";  // <SPAN CLASS="comment">Prints "Hello World!"</SPAN></PRE>

<!-- Begin Footer -->

<HR>

<P CLASS="c