#include <functional.hpp>
Public Types | |
| typedef BFI::result_type | result_type |
| result type of the generator | |
Public Member Functions | |
| result_type | operator() () |
| operator () | |
| bbinder (const BF &f, const typename BFI::first_argument_type &x, const typename BFI::second_argument_type &y) throw () | |
| Constructor. | |
It is implemented so that it deals with BF using interface of the instigate::stl::binary_function. As a consequence, it is more generic than the standard STL-style binding, which would impose syntactical requirements on BF. However it is implemented so that it is also a model of classical STL-style generator and can be used for example in a call to generate() algorithm.
| instigate::stl::bbinder< BF >::bbinder | ( | const BF & | f, | |
| const typename BFI::first_argument_type & | x, | |||
| const typename BFI::second_argument_type & | y | |||
| ) | throw () [inline] |
Constructor.
| f | - the binary function | |
| x | - the first argument to be bound | |
| y | - the second argument to be bound |
| result_type instigate::stl::bbinder< BF >::operator() | ( | ) | [inline] |