Boost logo

Boost Users :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2007-01-16 13:45:41


Chris Uzdavinis wrote:
> Can anyone tell me how to determine the arity of an arbitrary bind
> object? I have a generic function that receives a bind object, but so
> far I've been unable to detect at compile time how many arguments it
> takes. Am I overlooking something obvious?

No, there's no obvious way to determine the minimum arity of a bind object
(its maximum arity is 9). What is the specific scenario? Does it have to be
at compile time?


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