Instigate Open Source Documentation

instigate::stl::generator::interface< R(*)()> Struct Template Reference

Make plain C function with no arguments a model of the instigate::stl::generator "Generator" concept. More...

#include <_generator.hpp>

Inheritance diagram for instigate::stl::generator::interface< R(*)()>:

instigate::generic::assignable::interface< R(*)()>

List of all members.

Public Types

typedef R result_type
 type of the value returned by the function

Static Public Member Functions

static result_type invoke (R(*f)())
 Invoke the function.


Detailed Description

template<typename R>
struct instigate::stl::generator::interface< R(*)()>

Make plain C function with no arguments a model of the instigate::stl::generator "Generator" concept.

Member Function Documentation

template<typename R>
static result_type instigate::stl::generator::interface< R(*)()>::invoke ( R(*)()  f  )  [inline, static]

Invoke the function.

Parameters:
f - function to be invoked
Returns:
the result of invocation of f


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


© Instigate CJSC, Open Source