![]() |
Home | Libraries | People | FAQ | More |
boost::proto::pod_generator — A generator that wraps expressions passed to it in the specified extension wrapper and uses aggregate initialization for the wrapper.
// In header: <boost/proto/generate.hpp> template< Extends> struct pod_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.
proto::pod_generator<>
wraps each expression passed
to it in the Extends<>
wrapper, and uses aggregate
initialzation for the wrapped object.
pod_generator
public member functionstemplate<typename Expr> ( expr) ;
Parameters: |
|
||
Returns: |
|