|
Boost Users : |
Subject: Re: [Boost-users] UTF : capturing asserts
From: Gennadiy Rozental (rogeeff_at_[hidden])
Date: 2010-04-16 16:45:14
Carla Strembicke <Carla.Strembicke <at> subnet.com> writes:
> Is there a method in which to capture assert so as to pass a
> test ( like BOOST_REQUIRE_THROW)?
There is no way to capture assert in a portable way.
> It is either that, compile code without debug on ( which I
> wouldnât want to do if debugging) or replace all asserts which would be
> painful considering it is legacy code.
In a long term later is probably your best option.
Gennadiy
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