The C++ framework for developing highly scalable, high performance servers on Windows platforms.

assertions.h File Reference


Defines

#define JSON_ASSERT(condition)   assert(condition);
#define JSON_FAIL_MESSAGE(message)   do{std::ostringstream oss; oss << message; throw std::runtime_error(oss.str());}while(0)
#define JSON_ASSERT_MESSAGE(condition, message)


Define Documentation

#define JSON_ASSERT ( condition   )     assert(condition);

#define JSON_ASSERT_MESSAGE ( condition,
message   ) 

Value:

if (!(condition)) {                                                          \
    JSON_FAIL_MESSAGE(message);                                                \
  }

#define JSON_FAIL_MESSAGE ( message   )     do{std::ostringstream oss; oss << message; throw std::runtime_error(oss.str());}while(0)


Generated on Sun Sep 12 19:06:42 2021 for The Server Framework - v7.4 by doxygen 1.5.3