System::StaticCast_noexcept メソッド
コンテンツ
[
隠れる
]System::StaticCast_noexcept(const TFrom&) method
Exception オブジェクトに対して static cast を実行します。
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)
| パラメーター | 説明 |
|---|---|
| TTo | 対象の Exception 型。 |
| TFrom | ソースの Exception 型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | const TFrom& | ソース ポインタ。 |
ReturnValue
キャストが許可されている場合はキャスト結果を、そうでない場合は nullptr を返します。
Deprecated
下位互換性のために残されています。代わりに AsCast を使用してください。
参照
- Namespace System
- Library Aspose.Page for C++
System::StaticCast_noexcept(SmartPtr<TFrom> const&) method
SmartPtr オブジェクトに対して static cast を実行します。
template<typename TTo,typename TFrom> std::enable_if<!IsExceptionWrapper<TTo>::value, typenameCastResult<TTo>::type>::type System::StaticCast_noexcept(SmartPtr<TFrom> const &obj)
| パラメーター | 説明 |
|---|---|
| TTo | 対象のポインティー型。 |
| TFrom | ソースのポインティー型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | SmartPtr<TFrom> const& | ソース ポインタ。 |
ReturnValue
キャストが許可されている場合はキャスト結果を、そうでない場合は nullptr を返します。
Deprecated
下位互換性のために残されています。代わりに AsCast を使用してください。
参照
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++
System::StaticCast_noexcept(SmartPtr<TFrom>) method
Objects を Exception オブジェクトに static cast します。
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
| パラメーター | 説明 |
|---|---|
| TTo | 対象の Exception 型。 |
| TFrom | Object 型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | SmartPtr<TFrom> | ソース ポインタ。 |
ReturnValue
キャストが許可されている場合はキャスト結果を、そうでない場合は nullptr を返します。
Deprecated
下位互換性のために残されています。代わりに AsCast を使用してください。
参照
- Class Object
- Class SmartPtr
- Namespace System
- Library Aspose.Page for C++
System::StaticCast_noexcept(WeakPtr<TFrom> const&) method
WeakPtr オブジェクトに対して static cast を実行します。
template<typename TTo,typename TFrom> CastResult<TTo>::type System::StaticCast_noexcept(WeakPtr<TFrom> const &obj)
| パラメーター | 説明 |
|---|---|
| TTo | 対象のポインティー型。 |
| TFrom | ソースのポインティー型。 |
| パラメーター | 型 | 説明 |
|---|---|---|
| obj | WeakPtr<TFrom> const& | ソース ポインタ。 |
ReturnValue
キャストが許可されている場合はキャスト結果を、そうでない場合は nullptr を返します。
Deprecated
下位互換性のために残されています。代わりに AsCast を使用してください。
参照
- Class WeakPtr
- Namespace System
- Library Aspose.Page for C++