Instigate Open Source Documentation

instigate::stl::unary_function::interface< UF > Struct Template Reference

Interface for the concept instigate::stl::unary_function. More...

#include <_unary_function.hpp>

Inheritance diagram for instigate::stl::unary_function::interface< UF >:

instigate::generic::assignable::interface< UF >

List of all members.

Public Types

typedef
instigate::stl::functor::interface
< UF >::argument_type 
argument_type
 type of the function argument
typedef
instigate::stl::functor::interface
< UF >::result_type 
result_type
 type of the value returned by the function

Static Public Member Functions

static result_type invoke (const UF &f, argument_type a)
 Invoke the function on given arguments.


Detailed Description

template<typename UF>
struct instigate::stl::unary_function::interface< UF >

Interface for the concept instigate::stl::unary_function.

Member Function Documentation

template<typename UF>
static result_type instigate::stl::unary_function::interface< UF >::invoke ( const UF &  f,
argument_type  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

Referenced by instigate::stl::invoke().


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


© Instigate CJSC, Open Source