System::ExceptionWrapper クラス

ExceptionWrapper class

例外から派生したラッパーを表すテンプレートです。Exception クラス。

template<typename T>class ExceptionWrapper

メソッド

メソッド説明
ExceptionWrapper(std::nullptr_t)ExceptionWrapper クラスの null インスタンスを構築します。これは例外を表しません。
ExceptionWrapper(const ExceptionPtr&)渡されたポインタを含む ExceptionWrapper クラスのインスタンスを構築します。
ExceptionWrapper(const ExceptionWrapper&)コピーコンストラクタ。
ExceptionWrapper(ExceptionWrapper&&)ムーブコンストラクタ。
explicit ExceptionWrapper(Args&&…)Exception クラスのコンストラクタへパラメータを転送し、新しい Exception クラスのインスタンスを保持するスマートポインタを作成するコンストラクタです。
static operator new(std::size_t)
static operator new[](std::size_t)
operator SharedPtr< Object >()SharedPtr への暗黙的キャスト演算子です。
operator->() constException オブジェクトのメンバーにアクセスできます。
operator=(const ExceptionWrapper&)代入演算子。
operator=(ExceptionWrapper&&)ムーブ代入演算子。
static Type()Exception 型の System::TypeInfo オブジェクトを取得するショートカットです。

Typedefs

型定義説明
ExceptionTypeキャスト関数で使用されます。

参照