$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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