GComm  0.2.3
Macros
exception.hpp File Reference

GComm exception definitions. More...

#include "gu_throw.hpp"

Go to the source code of this file.

Macros

#define gcomm_assert(cond_)   if ((cond_) == false) gu_throw_fatal << #cond_ << ": "
 

Detailed Description

GComm exception definitions.

Macro Definition Documentation

#define gcomm_assert (   cond_)    if ((cond_) == false) gu_throw_fatal << #cond_ << ": "

Assert macro for runtime condition checking. This should be used for conditions that may depend on external input and are required to validate correct protocol operation.