You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a test modifies global state and then doesn't reach the cleanup code because of an exception, that can be exceptionally (haha) annoying when debugging tests.
BOOST_SCOPE_EXIT uses RAII to simulate the try..finally construct from Java and other languages. Note that it needs to go just before the code that modifies the global state.
The text was updated successfully, but these errors were encountered:
If a test modifies global state and then doesn't reach the cleanup code because of an exception, that can be exceptionally (haha) annoying when debugging tests.
BOOST_SCOPE_EXIT uses RAII to simulate the
try..finally
construct from Java and other languages. Note that it needs to go just before the code that modifies the global state.The text was updated successfully, but these errors were encountered: