|
Boost : |
From: Giovanni Piero Deretta (gpderetta_at_[hidden])
Date: 2007-03-20 12:07:04
On 3/20/07, Daniel Walker <daniel.j.walker_at_[hidden]> 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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk