Instigate Open Source Documentation

instigate::stl::ternary_function::interface< TF > Struct Template Reference

Interface of the Ternary Function concept. More...

#include <_ternary_function.hpp>

Inheritance diagram for instigate::stl::ternary_function::interface< TF >:

instigate::generic::assignable::interface< TF >

List of all members.

Public Types

typedef TF::first_argument_type first_argument_type
 type of the first argument of the function
typedef TF::second_argument_type second_argument_type
 type of the second argument of the function
typedef TF::third_argument_type third_argument_type
 type of the third argument of the function
typedef TF::result_type result_type
 type of the value returned by the function

Static Public Member Functions

static result_type invoke (const TF &f, first_argument_type a1, second_argument_type a2, third_argument_type a3)
 Invoke the function on given arguments.


Detailed Description

template<typename TF>
struct instigate::stl::ternary_function::interface< TF >

Interface of the Ternary Function concept.

Member Function Documentation

template<typename TF>
static result_type instigate::stl::ternary_function::interface< TF >::invoke ( const TF &  f,
first_argument_type  a1,
second_argument_type  a2,
third_argument_type  a3 
) [inline, static]

Invoke the function on given arguments.

Parameters:
f - the ternary function
a1 - the first argument
a2 - the second argument
a3 - the third argument
Returns:
The result of invocation of f on (a1, a2, a3)

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


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


© Instigate CJSC, Open Source