#ifndef SIMPLE_WEB_ASSERT_HPP #define SIMPLE_WEB_ASSERT_HPP #include #include #define ASSERT(e) ((void)((e) ? ((void)0) : ((void)(std::cerr << "Assertion failed: (" << #e << "), function " << __func__ << ", file " << __FILE__ << ", line " << __LINE__ << ".\n"), std::abort()))) #endif /* SIMPLE_WEB_ASSERT_HPP */