Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

#define kTestArgs | ( |  | EXPRESSION | ) | kTestArgs_(EXPRESSION)

Within a kTry block, throws kERROR_PARAMETER if the expression result is kFALSE.

If the EXPRESSION argument does not evaluate to kTRUE, kERROR_PARAMETER is passed to an error-handling block. Otherwise, execution continues at the next statement.

This macro is guaranteed to evaluate its arguments only once.

Parameters

  EXPRESSION | Expression that evaluates to a kBool value.

See also
  Error Handling