|
Boost : |
Subject: Re: [boost] [RFC] string inserter/extractor "q u o t i n g"
From: David Abrahams (dave_at_[hidden])
Date: 2010-06-23 23:12:45
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.
-- Dave Abrahams BoostPro Computing http://www.boostpro.com
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk