Boost logo

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


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?


> 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, kalb at, bjorn.karlsson at, gregod at, wekempf at