| 412 | |
| 413 | template <typename T> |
| 414 | bool isNonNull(T ptr) { |
| 415 | |
| 416 | // note that (ptr == None) implies (ptr == nullptr) |
| 417 | return ptr != nullptr; |
| 418 | } |
| 419 | |
| 420 | |
| 421 | // fast checks which can be used in validation of existing |
no outgoing calls
no test coverage detected