名前空間
変種
操作

std::nested_exception::nested_exception

提供: cppreference.com
 
 
ユーティリティライブラリ
汎用ユーティリティ
日付と時間
関数オブジェクト
書式化ライブラリ (C++20)
(C++11)
関係演算子 (C++20で非推奨)
整数比較関数
(C++20)
スワップと型操作
(C++14)
(C++11)
(C++11)
(C++11)
(C++17)
一般的な語彙の型
(C++11)
(C++17)
(C++17)
(C++17)
(C++17)

初等文字列変換
(C++17)
(C++17)
 
 
 
nested_exception() noexcept;
(1) (C++11以上)
nested_exception( const nested_exception& other ) noexcept = default;
(2) (C++11以上)

新しい nested_exception オブジェクトを構築します。

1) デフォルトコンストラクタ。 std::current_exception() を呼ぶことによって取得した例外オブジェクトを新しい nested_exception オブジェクトに格納します。
2) コピーコンストラクタ。 other に格納されている例外を持つオブジェクトを初期化します。

[編集] 引数

other - 内容を初期化するための nested_exception