System::StaticCast_noexcept methode
inhoud
[
verbergen
]System::StaticCast_noexcept(const TFrom&) method
Voert een static cast uit op Exception objecten.
template<typename TTo,typename TFrom> std::enable_if<IsExceptionWrapper<TFrom>::value &&IsExceptionWrapper<TTo>::value &&(std::is_convertible<TTo, TFrom>::value||std::is_base_of<TTo, TFrom>::value), TTo>::type System::StaticCast_noexcept(const TFrom &obj)
| Parameter | Beschrijving |
|---|---|
| TTo | Doel Exception type. |
| TFrom | Bron Exception type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | const TFrom& | Bron‑pointer. |
ReturnValue
Castresultaat als cast is toegestaan, anders nullptr.
Deprecated
Behoudt voor achterwaartse compatibiliteit. Gebruik AsCast in plaats daarvan.
Zie ook
- Namespace System
- Library Aspose.Page for C++
System::StaticCast_noexcept(SmartPtr<TFrom> const&) method
Voert een static cast uit op SmartPtr objecten.
template<typename TTo,typename TFrom> std::enable_if<!IsExceptionWrapper<TTo>::value, typenameCastResult<TTo>::type>::type System::StaticCast_noexcept(SmartPtr<TFrom> const &obj)
| Parameter | Beschrijving |
|---|---|
| TTo | Doel‑pointee type. |
| TFrom | Bron‑pointee type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | SmartPtr<TFrom> const& | Bron‑pointer. |
ReturnValue
Castresultaat als cast is toegestaan, anders nullptr.
Deprecated
Behoudt voor achterwaartse compatibiliteit. Gebruik AsCast in plaats daarvan.
Zie ook
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++
System::StaticCast_noexcept(SmartPtr<TFrom>) method
Voert een statische cast uit op Objects naar Exception objecten.
template<typename TTo,typename TFrom> std::enable_if<std::is_same<System::Object, TFrom>::value &&IsExceptionWrapper<TTo>::value, TTo>::type System::StaticCast_noexcept(SmartPtr<TFrom> obj) noexcept
| Parameter | Beschrijving |
|---|---|
| TTo | Doel Exception type. |
| TFrom | Object type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | SmartPtr<TFrom> | Bron‑pointer. |
ReturnValue
Castresultaat als cast is toegestaan, anders nullptr.
Deprecated
Behoudt voor achterwaartse compatibiliteit. Gebruik AsCast in plaats daarvan.
Zie ook
- Class Object
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++
System::StaticCast_noexcept(WeakPtr<TFrom> const&) method
Voert een statische cast uit op WeakPtr objecten.
template<typename TTo,typename TFrom> CastResult<TTo>::type System::StaticCast_noexcept(WeakPtr<TFrom> const &obj)
| Parameter | Beschrijving |
|---|---|
| TTo | Doel‑pointee type. |
| TFrom | Bron‑pointee type. |
| Parameter | Type | Beschrijving |
|---|---|---|
| obj | WeakPtr<TFrom> const& | Bron‑pointer. |
ReturnValue
Castresultaat als cast is toegestaan, anders nullptr.
Deprecated
Behoudt voor achterwaartse compatibiliteit. Gebruik AsCast in plaats daarvan.
Zie ook
- Class WeakPtr
- Namespace System
- Library Aspose.Page for C++