Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2002-08-04 23:27:00


From: "Douglas Gregor" <gregod_at_[hidden]>

> I've added a function_traits class template to extract the arity, return
type,
> and argument types from a function type. It's only available when partial
> specialization is available, although we can extract the arity in the
absence
> of partial specialization if anyone is interested.

I'm already doing that in Boost.Python (see
boost/python/detail/arg_tuple_size.hpp).

-Dave


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk