
24 Oct
2008
24 Oct
'08
11:24 p.m.
AMDG Jeff Flinn wrote:
It appears the only difference is that fused_procedure has a void result type regardless of the adapted function's result type, where as fused_function_object's return type is that of the adapted function, is that true?
Yes, AFAIK.
What are the advantages of using fused_procedure, as it appears in my usage that fused_function_object can be used in place of fused_procedure?
fused_procedure does not require that the function object conform to the result_of protocol, because it does not need the return type. In Christ, Steven Watanabe