Rich Booleans is an advanced portable C++ library of over 80 boolean-like macros that hold an analysis if the condition fails. This can help debugging, letting a developer know exactly what goes wrong. It allows reuse in adapted ASSERT macros. It needs STL or wxWidgets.
|Tags||C++ assertion assert Debugging test Testing|
Release Notes: The Rich Boolean objects IsSubsetOf, IsMultiSubsetOf, and IsOrderedSubsetOf check whether the first range is a subset of the second. The Rich Boolean AllUnique checks whether all elements in a range are unique. The Rich Boolean AllPairs is a generalization of this. rbDOESNT_EXIST, rbFILE_EXISTS, and rbDIRECTORY_EXISTS check whether a file or directory exists or not. rbFILE and rbDIRECTORY check whether a file or directory has certain properties.