RawPtr overloads
Declared in <absl/memory/memory.h>
Extract the raw pointer from a null pointer.
std::nullptr_t
RawPtr(std::nullptr_t ptr);
» more...
Extract the raw pointer from a pointer-like value.
template<typename T>
decltype(std::addressof(*ptr))
RawPtr(T&& ptr);
» more...
nullptr.nullptr if ptr is null.| Name | Description |
|---|---|
| ptr | The null pointer. |