Boost logo

Boost :

From: Joel de Guzman (joel_at_[hidden])
Date: 2007-06-17 16:45:30


Joel de Guzman wrote:
>
> (CC'ing Doug)
> Doug, I know the result_of interface is almost standard now, but I
> still wonder about the redundancy of the function-object interface:
>
> F::result<F(T1, T2,..., TN)>::type
>
> Is there a rationale? F is redundant here. The former fusion result API
> does not require the F. Now, for example, instead of writing:

[...]
>
> I'm not complaining, we already bit the conformance bullet :P
> Just wondering why the latter is superior to the former.

Jeez, there is a rationale! Sorry about the noise. Perhaps I'm
just reading too much docs now, and I forgot.

http://anubis.dkuug.dk/jtc1/sc22/wg21/docs/papers/2003/n1454.html

Regards,

-- 
Joel de Guzman
http://www.boost-consulting.com
http://spirit.sf.net

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