Boost logo

Boost :

Subject: Re: [boost] [RFC] string inserter/extractor "q u o t i n g"
From: Eric Niebler (eric_at_[hidden])
Date: 2010-06-23 23:47:06


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

On 6/23/2010 11:12 PM, David Abrahams wrote:
> At Wed, 23 Jun 2010 11:01:42 -0400,
> Eric Niebler wrote:
>>
>> - Decide if passing a malformed string is a violation of unquote's
>> preconditions.
>> - If it is, throw something derived from logic_error.
>
> Please don't throw exceptions in response to violated preconditions.
> The appropriate mechanism is BOOST_ASSERT.

Which I stated in my immediate follow-up to my own mail. Keep reading. ;-)

- --
Eric Niebler
BoostPro Computing
http://www.boostpro.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEUAwUBTCLVOgeJsEDfjLbXAQJ+Wwf2IgKMvGTmRtdt9JE4urtfer4z5vupJnDH
qltaZATY/Dg+Co//MBLdTYJwSWVl6oU0+XvvMsiVSVucU7DWuW3lyL/U3JtSC3ky
jQqnuRkpVEri0SGEg220QnTGvKwQgXPFFtTTKWRcRDFfB2BfY5N2tKXCAqpRuTVi
NTjiEG2r7EedWXQno2/CfEjb1oLQfIK1NsZ/AbLeyN7OYG41VKZA5MAiXxO7Adr2
L3E0La2HaaAxfcpl8QZTXWO7AwkFC7BmlEqi7iw8Png0vdlMyg3faiMBe25FlId4
j0Zo0Uqfrbe6AcuIwXlLtlLFYaLVknGTSYtr3UNusBKEgMQe5t4e
=qVvf
-----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