Instigate Open Source Documentation

instigate::stl::bbinder2nd< BF > Class Template Reference

Template class aimed to turn binary function into unary function. More...

#include <functional.hpp>

List of all members.

Public Types

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

Public Member Functions

result_type operator() (argument_type v) const
 operator ()
 bbinder2nd (BF f, typename BFI::second_argument_type x) throw ()

Detailed Description

template<typename BF>
class instigate::stl::bbinder2nd< 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::bbinder2nd< BF >::bbinder2nd ( BF  f,
typename BFI::second_argument_type  x 
) throw () [inline]


f - the binary function
x - the second argument to be bound

Member Function Documentation

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

operator ()

the result of the binary function invocation on the bound second argument

References instigate::stl::invoke().

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

© Instigate CJSC, Open Source