asio 0.3.8rc3 | 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

unspecified | error
| An argument placeholder, for use with boost::bind, that corresponds to the error argument of a handler for any of the asynchronous functions.
unspecified | 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.
unspecified | 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

unspecified asio::placeholders::error

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

unspecified asio::placeholders::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.

unspecified asio::placeholders::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.

asio 0.3.8rc3 | Home | Reference | Tutorial | Examples | Design