Instigate Open Source Documentation

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

Making a void method of class a model of the concept instigate::stl::unary_function. More...

#include <_unary_function.hpp>

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

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

List of all members.

Public Types

typedef A * argument_type
 type of the function argument
typedef R result_type
 type of the value returned by the function

Static Public Member Functions

static result_type invoke (R(A::*f)(), A *a)
 Invoke the function on given arguments.


Detailed Description

template<typename A, typename R>
struct instigate::stl::unary_function::interface< R(A::*)()>

Making a void method of class a model of the concept instigate::stl::unary_function.

Member Function Documentation

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

Invoke the function on given arguments.

Parameters:
f is the unary function to be invoked
a is the argument of f
Returns:
the result of invocation of f on a


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


© Instigate CJSC, Open Source