## DynamicWeakPtr::operator== method


检查智能指针是否为 null。

```cpp
bool System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator==(std::nullptr_t) const
```


### ReturnValue

如果智能指针为 null 则为 true，否则为 false。

## 另见

* Class [DynamicWeakPtr](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
>\& | 指向复制赋值来源的指针。 |

### ReturnValue

自身引用。

## 另见

* Typedef [DynamicWeakPtr_](../dynamicweakptr_/)
* Class [SmartPtr](../../smartptr/)
* Class [DynamicWeakPtr](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## DynamicWeakPtr::operator=(const SmartPtr_\&) method


拷贝赋值智能指针。

```cpp
DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(const SmartPtr_ &x)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| x | const SmartPtr_\& | 指向复制赋值来源的指针。 |

### ReturnValue

自身引用。

## 另见

* Typedef [DynamicWeakPtr_](../dynamicweakptr_/)
* Typedef [SmartPtr_](../smartptr_/)
* Class [DynamicWeakPtr](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## DynamicWeakPtr::operator=(SmartPtr_\&&) method


移动赋值智能指针。

```cpp
DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(SmartPtr_ &&x)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| x | SmartPtr_\&& | 指向移动赋值来源的指针。 |

### ReturnValue

自身引用。

## 另见

* Typedef [DynamicWeakPtr_](../dynamicweakptr_/)
* Typedef [SmartPtr_](../smartptr_/)
* Class [DynamicWeakPtr](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## DynamicWeakPtr::operator=(std::nullptr_t) method


将智能指针设为 null。

```cpp
DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(std::nullptr_t)
```


### ReturnValue

自身引用。

## 另见

* Typedef [DynamicWeakPtr_](../dynamicweakptr_/)
* Class [DynamicWeakPtr](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
## DynamicWeakPtr::operator=(typename SmartPtr_::Pointee_ *) method


赋值智能指针。

```cpp
DynamicWeakPtr_ & System::DynamicWeakPtr<T, trunkMode, weakLeafs>::operator=(typename SmartPtr_::Pointee_ *p)
```


| 参数 | 类型 | 描述 |
| --- | --- | --- |
| p | typename SmartPtr_::Pointee_ * | 指针值。 |

### ReturnValue

自身引用。

## 另见

* Typedef [DynamicWeakPtr_](../dynamicweakptr_/)
* Typedef [Pointee_](../../smartptr/pointee_/)
* Class [DynamicWeakPtr](../)
* Namespace [System](../../)
* Library [Aspose.Font for C++](../../../)
