Loading...
Searching...
No Matches
Go to the documentation of this file.
17#define U_ASSERT_WEAK_PTR_RET(ptr, msg, ...) \
20 U_LOG_E("Handle " #ptr " has expired unexpectedly! [%s:%d]: " msg, __func__, __LINE__); \
26#define U_ASSERT_WEAK_PTR_THROW(ptr, msg, ...) \
29 U_LOG_E("Handle " #ptr " has expired unexpectedly! [%s:%d]: " msg, __func__, __LINE__); \
30 throw std::runtime_error("Weak pointer has expired unexpectedly"); \