Boost logo

Boost :

From: Tobias Schwinger (tschwinger_at_[hidden])
Date: 2005-06-17 11:39:18


David Abrahams wrote:
> "John Maddock" <john_at_[hidden]> writes:
>
>
>>>Like taking the address of an overloaded function or function template
>>>instantiation ??
>>
>>Surely you can always just declare your function type as a typedef in that
>>case, without going through function_type?
>>
>>function_type is only useful in that it unpacks an mpl sequence defining the
>>argument list into the function type, but that's only useful if you have an
>>the mpl sequence to begin with. It's those situations I'm finding hard to
>>imagine at present.
>
>
> I have a use for it -- but it's less useful if the sequence is
> nonuniform and fails to include the class type of member functions ;-)
>

In fact, at this very point (type synthesis - "function_type") the input
sequence does include it ;-).


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