System::dynamic_pointer_cast method
System::dynamic_pointer_cast method
Casts smart pointers using dynamic_cast.
template<class Y,class X> SmartPtr<Y> System::dynamic_pointer_cast(SmartPtr<X> const &x)
Parameter | Description |
---|---|
X | Source pointer pointee type. |
Y | Target pointer pointee type. |
Parameter | Type | Description |
---|---|---|
x | SmartPtr<X> const& | Source pointer. |
ReturnValue
Pointer after cast.
See Also
- Class SmartPtr
- Namespace System
- Library Aspose.TeX for C++