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

Click here to view the latest version of this page.
PrevUpHomeNext

Concept Transform

Transform

Description

A Transform is a PrimitiveTransform, a CallableTransform or an ObjectTransform.

Associated types

  • result_type

    boost::result_of<when< _, Tn >(Expr, State, Data)>::type

    The result of applying the Transform.

Notation

Tn
A type playing the role of transform-type in the Transform concept.
Expr
A type playing the role of expression-type in the Transform concept.
State
A type playing the role of state-type in the Transform concept.
Data
A type playing the role of data-type in the Transform concept.
expr
Object of type Expr
state
Object of type State
data
Object of type Data

Valid expressions

Name Expression Type Semantics

Apply Transform

when< _, Tn >()(expr, state, data)

result_type

Applies the transform.

Models

  • boost::proto::_child(boost::proto::_left)

PrevUpHomeNext