|
Boost Users : |
From: Claus Rasmussen (yg-boost-users_at_[hidden])
Date: 2002-11-25 16:35:38
Is it possible to discern one-argument lambda expressions from
two-argument expressions ? I would like to do something like this:
template<typename UNARY_LAMBDA_FUNC>
void f(UNARY_LAMBDA_FUNC ulf) {
ulf(arg);
}
template<typename BINARY_LAMBDA_FUNC>
void f(BINARY_LAMBDA_FUNC blf) {
blf(arg1, arg2);
}
-Claus
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net