Fermat
|
This module implements several basic functors
Functions | |
template<typename F , typename C > | |
binder1st< F, C > | cugar::bind1st (const F &f, const C c) |
template<typename F , typename C > | |
binder2nd< F, C > | cugar::bind2nd (const F &f, const C c) |
template<typename F1 , typename F2 > | |
composition_type< F1, F2, typename F1::function_tag, typename F2::function_tag >::type | cugar::compose (const F1 f1, const F2 f2) |
template<typename F , typename G1 , typename G2 > | |
compose_binary< F, G1, G2 > | cugar::compose (const F f, const G1 g1, const G2 g2) |
template<typename Iterator > | |
gather_functor< Iterator > | cugar::make_gather_functor (const Iterator perm) |
composition_type<F1,F2,typename F1::function_tag,typename F2::function_tag>::type cugar::compose | ( | const F1 | f1, |
const F2 | f2 | ||
) |
compose two functions
compose_binary<F,G1,G2> cugar::compose | ( | const F | f, |
const G1 | g1, | ||
const G2 | g2 | ||
) |
compose a binary function after two unary ones