Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::proto::default_generator Struct Reference

A simple generator that passes an expression through unchanged. More...

#include <generate.hpp>

Inheritance diagram for boost::proto::default_generator:

Classes

struct  result
 
struct  result< This(Expr)>
 

Public Member Functions

template<typename Expr >
BOOST_FORCEINLINE operator() (Expr const &e) const
 

Detailed Description

A simple generator that passes an expression through unchanged.

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. The default_generator makes no modifications to the expressions passed to it.

Member Function Documentation

template<typename Expr >
BOOST_FORCEINLINE boost::proto::default_generator::operator() ( Expr const &  e) const
inline
Parameters
exprA Proto expression
Returns
expr

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