|
Boost Users : |
Subject: Re: [Boost-users] [fusion] fused_procedure vs. fused_function_object
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2008-10-24 19:24:10
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
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net