
20 Mar
2007
20 Mar
'07
4:07 p.m.
On 3/20/07, Daniel Walker <daniel.j.walker@gmail.com> wrote:
Hello,
I noticed that result_of doesn't handle functors created by the Boost Lambda Library. [...] Among Boost libraries, there are at least two ways for function objects to expose return types that are dependent on the types of their arguments.
1) result_of instructs users to expose a template result<F(ARG1, ..., ARGN)>. 2) Boost.Lambda instructs users to expose a template sig<tuple<ARG1, ..., ARGN>, and it also uses this convention internally.
One more: 3) Fusion instruct users to expose a template result<ARG1... ARGN>. But I guess it is not easy to distinguish this case from 1). gpd