
6 Jul
2004
6 Jul
'04
1:49 a.m.
Andy Little wrote:
"Joel de Guzman" <joel@boost-consulting.com> wrote
Doug Gregor wrote:
In Boost CVS there is an implementation of result_of, which would be used like this:
result_of<Op(A, B)>::type
I think this is the best interface I've seen so far. The result_of_plus is just a temporary solution while waiting for Doug's result_of work which was not available at the time.
Apologies for the criticism. Whats more important in your type deduction header is the underlying implementation mechanism, which would of course be useful whatever interface is used.
No need to apologize. No offense taken. We share the opinion that result_of_plus is plain and utterly ugly. Cheers, -- Joel de Guzman http://www.boost-consulting.com http://spirit.sf.net