JsonCpp project page JsonCpp home page

Macros
assertions.h File Reference
#include <stdlib.h>
#include "config.h"
#include <stdexcept>
+ Include dependency graph for assertions.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define JSON_ASSERT(condition)   assert(condition);
 
#define JSON_FAIL_MESSAGE(message)   throw std::runtime_error(message);
 
#define JSON_ASSERT_MESSAGE(condition, message)
 

Macro Definition Documentation

#define JSON_ASSERT (   condition)    assert(condition);

Definition at line 17 of file assertions.h.

#define JSON_ASSERT_MESSAGE (   condition,
  message 
)
#define JSON_FAIL_MESSAGE (   message)    throw std::runtime_error(message);