![]() |
Home | Libraries | People | FAQ | More |
boost::proto::default_generator — A simple generator that passes an expression through unchanged.
// In header: <boost/proto/generate.hpp> struct default_generator : proto::callable { // member classes/structs/unions template<typename This, typename Expr> struct result<> { // types typedef ; }; // public member functions template<typename Expr> () ; };
Generators are intended for use as the first template parameter to the
proto::domain<>
class template and control if and how expressions within that domain are to be customized.
The proto::default_generator
makes no modifications to the
expressions passed to it.
default_generator
public member functionstemplate<typename Expr> ( expr) ;
Parameters: |
|
||
Returns: |
|