Simple Application Framework
1
|
Function argument binding.
Go to the source code of this file.
Classes | |
class | Saf::Algo::Binder1st< Func, Arg1Type > |
Create a unary function from a binary one by fixing its first parameter. More... | |
class | Saf::Algo::Binder2nd< Func, Arg2Type > |
Create a unary function from a binary one by fixing its second parameter. More... | |
Namespaces | |
namespace | Saf |
Global library namespace. | |
namespace | Saf::Algo |
Generic data handling algorithms and structures. | |
Functions | |
template<class Func , class Arg1Type > | |
Binder1st< Func, Arg1Type > | Saf::Algo::Bind1st (const Func &func, const Arg1Type &arg1) |
Create a unary function from a binary one by fixing its first parameter. | |
template<class Func , class Arg2Type > | |
Binder2nd< Func, Arg2Type > | Saf::Algo::Bind2nd (const Func &func, const Arg2Type &arg2) |
Create a unary function from a binary one by fixing its second parameter. |
Function argument binding.
@author Ondrej Danek <ondrej.danek@gmail.com> @date 2012