Convenience Functions

Overview
Headers
Reference

Overview

The Boost Iostreams library contains the convenience function copy which reads data from a provided source and writes it to a provided sink, until the end of stream is reached. It is a more flexible version of the std::basic_ostream member function

basic_ostream<Ch, Tr>& operator<<(basic_streambuf<Ch, Tr>*);

More convenience functions may be added in the future.

Headers

<boost/iostreams/copy.hpp>

Reference

Function template copy