Returns whether the backing memory is the null pointer. A `== nullptr` convenience method is also provided.
| 65 | // Returns whether the backing memory is the null pointer. |
| 66 | // A `== nullptr` convenience method is also provided. |
| 67 | bool is_null() const { return opaque_ == nullptr; } |
| 68 | bool operator==(std::nullptr_t other) const { return is_null(); } |
| 69 | bool operator!=(std::nullptr_t other) const { return !is_null(); } |
| 70 |
no outgoing calls