Instigate Open Source Documentation

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

Making a const 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::*)() const >:

instigate::generic::assignable::interface< T >

List of all members.

Public Types

typedef const 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)() const, const A *a)
 Invoke the function on given arguments.


Detailed Description

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

Making a const 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::*)() const >::invoke ( R(A::*)() const   f,
const 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