16 Apr
2010
16 Apr
'10
8:45 p.m.
Carla Strembicke
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