C++相談室 part156at TECH
C++相談室 part156 - 暇つぶし2ch70:デフォルトの名無しさん
21/05/23 14:27:22.85 vhcqGTpc.net
>>64
よくわからんが、こういうこと?
void caller()
{
exception_ptr ex;
ex = callee();
try
{
rethrow_exception(ex);
}
catch(double err)
{
cout << "What the hell does that mean?\n";
}
}
exception_ptr callee()
{
try
{
throw 0.1;
}
catch(...)
{
return current_exception();
}
}


次ページ
続きを表示
1を表示
最新レス表示
レスジャンプ
類似スレ一覧
スレッドの検索
話題のニュース
おまかせリスト
オプション
しおりを挟む
スレッドに書込
スレッドの一覧
暇つぶし2ch