Tests whether a pointer is non‐empty.
Synopsis
Declared in <folly/memory/shared_from_this_ptr.h>
bool
operator!=(
std::nullptr_t unused,
holder const& holder) noexcept;
|
Note
|
This function is a hidden friend of shared_from_this_ptr, declared only inside that class: it can be found only through argument-dependent lookup. |
Return Value
true if holder is non‐empty, false otherwise.
Parameters
Name |
Description |
unused |
A null pointer constant. |
holder |
The pointer to test. |
Created with MrDocs