Null. A template, so that a literal 0 picks the T* overload above (or, for strict_ptr, the null-literal constructor) instead of being ambiguous.
Declared in <cptr/ptr.hpp>
template<class N>
requires std::is_null_pointer_v<N>
constexpr
basic_ptr&
operator=(N value) noexcept;
Reference to the current object
| Name | Description |
|---|---|
| value | The object to assign from |