Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::compose_generators< First, Second > Struct Template Reference

A composite generator that first applies one transform to an expression and then forwards the result on to another generator for further transformation. More...

#include <proto_fwd.hpp>

Classes

struct  result
 
struct  result< This(Expr &)>
 
struct  result< This(Expr const &)>
 
struct  result< This(Expr)>
 

Public Member Functions

template<typename Expr >
BOOST_FORCEINLINE result
< compose_generators(Expr)>
::type 
operator() (Expr const &e) const
 

Detailed Description

template<typename First, typename Second>
struct boost::proto::compose_generators< First, Second >

A composite generator that first applies one transform to an expression and then forwards the result on to another generator for further transformation.

Generators are intended for use as the first template parameter to the domain<> class template and control if and how expressions within that domain are to be customized. compose_generators<> is a composite generator that first applies one transform to an expression and then forwards the result on to another generator for further transformation.

Member Function Documentation

template<typename First , typename Second >
template<typename Expr >
BOOST_FORCEINLINE result<compose_generators(Expr)>::type boost::proto::compose_generators< First, Second >::operator() ( Expr const &  e) const
inline
Parameters
exprThe expression to modify.
Returns
Second()(First()(expr))

The documentation for this struct was generated from the following file: