Subject: Re: [boost] Checking for return types (result_of) - redux..
From: Frank Mori Hess (frank.hess_at_[hidden])
Date: 2009-08-21 11:15:23
-----BEGIN PGP SIGNED MESSAGE-----
On Friday 21 August 2009, Edward Grace wrote:
> It seems quite unedifying having to make sure the user adds some,
> apparently arbitrary, magic typedef to their functors in order to
> make sure it works.
It's not quite that bad. A result_type typedef is pretty standard for
functors, for example std::unary_function and std::binary_function provide
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
-----END PGP SIGNATURE-----
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk