|
Boost : |
Subject: Re: [boost] New Boost.XInt Library, request preliminary review
From: Chad Nelson (chad.thecomfychair_at_[hidden])
Date: 2010-03-28 18:29:56
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03/28/2010 06:14 PM, Scott McMurray wrote:
>> Sorry, but no. n1692 specifies that it's supposed to throw an
>> std::overflow exception when it can't get the memory it needs to
>> represent a number.
>
> Doesn't this statement that "the standard says it must throw" conflict
> with your justification for having NaN as being "for when exceptions
> are blocked"?
It would, if std::overflow were a blockable exception. :-) Most of the
library's exceptions can be blocked, but not all of them.
- --
Chad Nelson
Oak Circle Software, Inc.
*
*
*
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkuv2GQACgkQp9x9jeZ9/wRZogCgrXslErqTTMqy7ZrTLUHCRnma
Rp0AnRC0/e4OXchzpp/qmtiteaE4fTdL
=DMUv
-----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