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 to view this page for the latest version.
PrevUpHomeNext

connect_pipe (2 of 2 overloads)

Connect two pipe ends using an anonymous pipe.

template<
    typename Executor1,
    typename Executor2>
void connect_pipe(
    basic_readable_pipe< Executor1 > & read_end,
    basic_writable_pipe< Executor2 > & write_end,
    boost::system::error_code & ec);
Parameters

read_end

The read end of the pipe.

write_end

The write end of the pipe.

Exceptions

boost::system::system_error

Thrown on failure.

Parameters

ec

Set to indicate what error occurred, if any.


PrevUpHomeNext