|
micro-test-plus 6.0.0
µTest++ Testing Framework
|
Concept satisfied when a type is contextually convertible to bool, but is most likely not a condition. More...
#include <extension.h>
| T | The type to be checked. |
The suspicious_condition concept is satisfied by the arrays (including the string literals), the functions, the pointers to functions and to members, and the pointers to the character types. All of them are contextually convertible to bool, so, when passed to expect() or require(), the check silently passes, usually because the description was written instead of the condition, or because a function name was written without the call. The pointers to other object types are not included, since checking a pointer for null is a legitimate use.
Definition at line 238 of file extension.h.