Boost logo

Boost :

Subject: Re: [boost] [xint] Fifth release -- one more round of reviews, please
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-06-15 16:38:17


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

On 06/15/2010 06:02 AM, Adam Merz wrote:
> A quick request: can you give integer_t a safe bool conversion
> operator? [...]

Done. Changes are in the Sandbox.

> Since integer_t has operator! but no bool conversion operator, I've
> been using 'if (!!i) { ... }' to avoid creation of a temporary, which
> looks a bit silly.

It looks perfectly normal to us grizzled veterans of C. :-)
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkwX5LYACgkQp9x9jeZ9/wSlMQCgm4j1ioj/KRoh5Gv3KK2GOgKx
KbYAn3y48sPyKxfRj5DfvXGwB/laCM9h
=sUMd
-----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