#include <functional.hpp>
Public Types | |
typedef UFI::result_type | result_type |
result type of the generator | |
Public Member Functions | |
result_type | operator() () const |
operator () | |
ubinder (UF f, typename UFI::argument_type x) throw () | |
Constructor. |
It is implemented so that it deals with UF using the interface of the Unary Function. As a consequence, it is more generic than the standard STL-style binding, which would impose syntactical requirements on UF. 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::ubinder< UF >::ubinder | ( | UF | f, | |
typename UFI::argument_type | x | |||
) | throw () [inline] |
Constructor.
f | - the unary function | |
x | - the argument to be bound |
result_type instigate::stl::ubinder< UF >::operator() | ( | ) | const [inline] |