1 2 3 4 5 6 7 8 9 10 11 12 13 14
#include "base/checked_ptr.hpp" namespace check_impl { void not_null(void const * p) { CHECK(p, ()); } void equal_thread(std::thread::id id) { CHECK_EQUAL(id, std::this_thread::get_id(), ()); } } // namespace check_impl