Default policy handling null-pointer violations for not_null.
Declared in <folly/memory/not_null.h>
class default_null_handler;
| Name | Description |
|---|---|
handle_terminate [noreturn] | Handle termination when the invariant of the pointer being null is violated, such as when doing debug checking after moving from a not_null smart pointer. |
handle_throw [noreturn] | Handle when code attempts to construct or assign a not_null object from a null pointer. |