|
Boost Users : |
Subject: Re: [Boost-users] serialisation use of asserts versus throw ?
From: Dominique Devienne (ddevienne_at_[hidden])
Date: 2012-09-06 07:59:15
On Thu, Sep 6, 2012 at 12:19 PM, Avi Bahra <avibahra_at_[hidden]> wrote:
> Would it be possible to use a #define to configure use of
> asserts or throw ?
See BOOST_ENABLE_ASSERT_HANDLER from
http://www.boost.org/doc/libs/1_51_0/libs/utility/assert.html.
BTW, are you deploying debug software? BOOST_ASSERT disappears from
release builds AFAIK, while BOOST_VERIFY does not. --DD
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net