Boost logo

Boost Users :

Subject: [Boost-users] [FunctionTypes] function_arity for non-built-ins
From: Hossein Haeri (powerprogman_at_[hidden])
Date: 2011-01-05 19:21:37


Dear all,

How can I calculate the arity of function-objects? Obviously, function_arity won't do the job for that's only for built-ins. For instance, I need something like:

function_types::function_object_arity<std::plus<double> >::value

Anything in Boost for that?

TIA,
--Hossein


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