
14 Feb
2009
14 Feb
'09
3:29 p.m.
AMDG Germán Diago wrote:
Hello. I'm using boost.functiontypes and I would like if it's possible to extract information of arity and argument types from bind expressions and boost.functions
boost::function provides these as arity, arg1_type, arg2_type, etc. There is no way to determine the arity or arguments of a bind expression, because the answer is not unique. The function objects created by boost::bind a) ignore extra arguments b) may be able to handle different types of arguments depending on the bound function object(s). In Christ, Steven Watanabe