Compresses p, which must be null or point into the cage. Not for strict_ptr, which needs an explicit s = strict_ptr<T>(p). A literal 0 or NULL lands here too, and stays constant-evaluable.
Declared in <cptr/ptr.hpp>
constexpr
basic_ptr&
operator=(T* p) noexcept
requires (!Strict);
Reference to the current object
| Name | Description |
|---|---|
| p | The object to assign from |