◆ AssertNotNull()
967 {
968#if defined(DUCKDB_DEBUG_NO_SAFETY) || defined(DUCKDB_CLANG_TIDY)
969 return;
970#else
971 if (DUCKDB_UNLIKELY(null)) {
973 }
974#endif
975 }
Definition duckdb.hpp:809
◆ operator*()
978 {
979 const auto ptr = original::get();
980 if (MemorySafety<SAFE>::ENABLED) {
981 AssertNotNull(!ptr);
982 }
983 return *ptr;
984 }
◆ operator->()
986 {
987 const auto ptr = original::get();
988 if (MemorySafety<SAFE>::ENABLED) {
989 AssertNotNull(!ptr);
990 }
991 return ptr;
992 }
◆ reset()
999 {
1000 original::reset(ptr);
1001 }
The documentation for this class was generated from the following file: