sprint 1-alpha
|
bind method to create function* object More...
#include <sprint/function/function.h>
#include <sprint/function/detail/adapter.h>
#include <sprint/function/detail/invoker.h>
Go to the source code of this file.
Namespaces | |
namespace | sprint |
Sprint is a lightweight c++ library to handle different task with crossplatform attention (trying to compile both on MSVC and Mingw on WIn32 and GCC on Linux. | |
Functions | |
template<class R > | |
function0< R > * | sprint::bind (R(*fn)()) |
binding function to allocate a function0 object from a ptr function and 0 its parameters | |
template<class R , class P1 > | |
function0< R > * | sprint::bind (R(*fn)(P1), P1 p1) |
binding function to allocate a function0 object from a ptr function and 1 its parameters | |
template<class R , class P1 , class P2 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2), P1 p1, P2 p2) |
binding function to allocate a function0 object from a ptr function and 2 its parameters | |
template<class R , class P1 , class P2 , class P3 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3), P1 p1, P2 p2, P3 p3) |
binding function to allocate a function0 object from a ptr function and 3 its parameters | |
template<class R , class P1 , class P2 , class P3 , class P4 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3, P4), P1 p1, P2 p2, P3 p3, P4 p4) |
binding function to allocate a function0 object from a ptr function and 4 its parameters | |
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3, P4, P5), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) |
binding function to allocate a function0 object from a ptr function and 5 its parameters | |
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3, P4, P5, P6), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) |
binding function to allocate a function0 object from a ptr function and 6 its parameters | |
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3, P4, P5, P6, P7), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7) |
binding function to allocate a function0 object from a ptr function and 7 its parameters | |
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3, P4, P5, P6, P7, P8), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8) |
binding function to allocate a function0 object from a ptr function and 8 its parameters | |
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3, P4, P5, P6, P7, P8, P9), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9) |
binding function to allocate a function0 object from a ptr function and 9 its parameters | |
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9, P10 p10) |
binding function to allocate a function0 object from a ptr function and 10 its parameters | |
template<class R , class P1 , class P2 , class P3 , class P4 , class P5 , class P6 , class P7 , class P8 , class P9 , class P10 , class P11 > | |
function0< R > * | sprint::bind (R(*fn)(P1, P2, P3, P4, P5, P6, P7, P8, P9, P10, P11), P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6, P7 p7, P8 p8, P9 p9, P10 p10, P11 p11) |
binding function to allocate a function0 object from a ptr function and 11 its parameters |
bind method to create function* object