System::SmartPtr::const_pointer_cast 方法
SmartPtr::const_pointer_cast method
使用 const_cast 对指向的对象进行类型转换。
template<class Y> SmartPtr<Y> System::SmartPtr<T>::const_pointer_cast() const
| 参数 | 描述 |
|---|---|
| Y | 指向对象的目标类型。 |
ReturnValue
已更改类型的指针,始终处于共享模式。
另见
- Class SmartPtr
- Class SmartPtr
- Namespace System
- Library Aspose.Font for C++