Boost logo

Boost :

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-----
Hash: SHA1

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
it.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqOugsACgkQ5vihyNWuA4VLVQCcCk0rIHGPaZD1pYW04du2Y7WV
34UAn3y7H5NWz/kkn7O62WNmMCz5ABx2
=4xSO
-----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