3 ms·A better C++ assertion library which also prints a debug message1 points by amallia 8y agomakecheck 8y agoA way to do this with regular assertions is to chain a C string with the expression using &&, as in: assert((x < 2) && “too many items”);