Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext
test::stream::~stream

Destructor.

Synopsis
~stream();
Description

If an asynchronous read operation is pending, it will simply be discarded with no notification to the completion handler.

If a connection is established while the stream is destroyed, the peer will see the error boost::asio::error::connection_reset when performing any reads or writes.


PrevUpHomeNext