Boost logo

Boost Users :

Subject: [Boost-users] [function_types] comparing arity
From: Jeff Flinn (Jeffrey.Flinn_at_[hidden])
Date: 2012-03-02 20:42:41


I'm trying to come up with the condition for an enable_if condition
based on the function_arity of a signature. The following fails to compile:

bool z
= boost::mpl::equal_to
< boost::function_types::function_arity<SIG>::value
, boost::mpl::int_<3>
>;

Any help is appreciated.

Thanks, Jeff


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