libdcp
Macros
dcp_assert.h File Reference

DCP_ASSERT macro. More...

#include "exceptions.h"

Go to the source code of this file.

Macros

#define DCP_ASSERT(x)   if (!(x)) throw dcp::ProgrammingError (__FILE__, __LINE__);
 

Detailed Description

DCP_ASSERT macro.

Definition in file dcp_assert.h.