Create a ReviewViolation with the specified attributes.
Declared in <bsls_review.h>
constexpr
ReviewViolation(
char const* comment,
char const* fileName,
int lineNumber,
char const* reviewLevel,
int count);
Create a ReviewViolation with the specified comment, fileName, lineNumber, reviewLevel, and count. Note that the supplied reviewLevel will usually be one of the k_LEVEL constants defined in bsls::Review (or see bsls::Assert for the levels that will be passed for assertions that are being reviewed).
| Name | Description |
|---|---|
| comment | expression text associated with the violation |
| fileName | name of the file where the violation occurred |
| lineNumber | line number where the violation occurred |
| reviewLevel | level string identifying the review macro |
| count | number of times this violation has already occurred |