Boost logo

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

Boost list run by bdawes at, gregod at, cpdaniel at, john at