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 10:07:30


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Friday 21 August 2009, Edward Grace wrote:
> boost::result_of<O()>::type

I don't have experience with boost::result_of, but is it right to add
parenthesis? That looks to me like you are asking for the return type of a
function type that takes no arguments and returns an object of type O.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAkqOqiMACgkQ5vihyNWuA4VmAQCfQ3vE/kErgej1+hme4nKc2W1a
IdkAoIM5DsU0x952LBmr/HX4sSES1BnS
=NNSp
-----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