
17 Jun
2007
17 Jun
'07
8:45 p.m.
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