Instigate Open Source Documentation

instigate::stl::bbinder1st< BF > Struct Template Reference

Template class aimed to turn binary function into unary function. This is a model of instigate::stl::unary_function. It is implemented so that it deals with Binary Function using instigate::stl::binary_function concept. More...

#include <functional.hpp>

List of all members.

Public Types

typedef BFI::result_type result_type
 The result type.
typedef BFI::second_argument_type argument_type
 The argument type.

Public Member Functions

result_type operator() (argument_type v) const
 operator ()
 bbinder1st (BF f, typename BFI::first_argument_type x) throw ()
 Constructor.


Detailed Description

template<typename BF>
struct instigate::stl::bbinder1st< BF >

Template class aimed to turn binary function into unary function. This is a model of instigate::stl::unary_function. It is implemented so that it deals with Binary Function using instigate::stl::binary_function concept.

Constructor & Destructor Documentation

template<typename BF>
instigate::stl::bbinder1st< BF >::bbinder1st ( BF  f,
typename BFI::first_argument_type  x 
) throw () [inline]

Constructor.

Parameters:
f - the binary function
x - the first argument to be bound


Member Function Documentation

template<typename BF>
result_type instigate::stl::bbinder1st< BF >::operator() ( argument_type  v  )  const [inline]

operator ()

Returns:
result of the binary function invocation on the first bound argument

References instigate::stl::invoke().


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


© Instigate CJSC, Open Source