
21 Aug
2009
21 Aug
'09
3:15 p.m.
-----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-----