aboutsummaryrefslogtreecommitdiff
path: root/src/util/check.h
AgeCommit message (Collapse)Author
2020-07-11util: Make Assert work with any valueMarcoFalke
2020-06-15util: Add Assert identity functionMarcoFalke
The utility is primarily useful to dereference pointer types, which are known to be not null at that time. For example, the ArgsManager is known to exist when the wallets are started. Instead of silently relying on that assumption, Assert can be used to abort the program and avoid UB should the assumption ever be violated.
2020-06-14move-only: Move NDEBUG compile time check to util/checkMarcoFalke
2020-05-13Add util::Ref class as temporary alternative for c++17 std::anyRussell Yanofsky
This commit does not change behavior
2019-10-18util: Add CHECK_NONFATAL and use it in src/rpcMarcoFalke