asio 0.3.7 Home | Reference | Tutorial | Examples | Design
Reference Class Hierarchy | Class Index | Member Index

asio::placeholders Namespace Reference


Detailed Description

The asio::placeholders namespace defines argument placeholders for use with boost::bind.


Variables

boost::arg< 1 > error
 An argument placeholder, for use with boost::bind, that corresponds to the error argument of a handler for any of the asynchronous functions.
boost::arg< 2 > bytes_transferred
 An argument placeholder, for use with boost::bind, that corresponds to the bytes_transferred argument of a handler for asynchronous functions such as asio::basic_stream_socket::async_write_some or asio::async_write.
boost::arg< 2 > iterator
 An argument placeholder, for use with boost::bind, that corresponds to the iterator argument of a handler for asynchronous functions such as asio::basic_resolver::resolve.


Variable Documentation

boost::arg<1> asio::placeholders::error [static]

An argument placeholder, for use with boost::bind, that corresponds to the error argument of a handler for any of the asynchronous functions.

boost::arg<2> asio::placeholders::bytes_transferred [static]

An argument placeholder, for use with boost::bind, that corresponds to the bytes_transferred argument of a handler for asynchronous functions such as asio::basic_stream_socket::async_write_some or asio::async_write.

boost::arg<2> asio::placeholders::iterator [static]

An argument placeholder, for use with boost::bind, that corresponds to the iterator argument of a handler for asynchronous functions such as asio::basic_resolver::resolve.

asio 0.3.7 Home | Reference | Tutorial | Examples | Design