From: Jonathan Turkanis (technews_at_[hidden])
Date: 2005-02-08 14:09:25
Joel de Guzman wrote:
> I find the interface:
> (especially the last) awkward in TMP code.
> In the interest of not having metafunction blobs, I'd suggest
> the interface:
> function_arg_c<N, F>::type
> function_arg<mpl::int_<N>, F>::type
> In particular, I need the function_arg(_c) metafunctions.
> It is very awkward to get the Nth function argument, given a
> constant N.
Tobias Swinger is working on an updated version of function traits.
The interface is documented here (but my implementation is naive):
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk