asio 0.1.5 Main Page | Class Index | Member Index | Tutorial

expression Class Template Reference

The expression class template is used to allow expressions in an error handler template to be distinguished for the purposes of overloading the || and && operators. More...

List of all members.

Public Member Functions

 expression (Expr expr)
 Constructor.

template<typename Error> bool operator() (const Error &err)
 Evaluate the expression.


Private Attributes

Expr expr_
 The contained expression.


Detailed Description

template<typename Expr>
class asio::expression< Expr >

The expression class template is used to allow expressions in an error handler template to be distinguished for the purposes of overloading the || and && operators.


Constructor & Destructor Documentation

expression Expr  expr  )  [explicit]
 

Constructor.


Member Function Documentation

bool operator() const Error &  err  ) 
 

Evaluate the expression.


Member Data Documentation

Expr expr_ [private]
 

The contained expression.