std::set_unexpected
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <exception>
|
||
std::unexpected_handler set_unexpected( std::unexpected_handler f ) |
||
f
新しいグローバルstd::unexpected_handlerになり、以前にインストールされstd::unexpected_handlerを返します。.Original:
Makes
f
the new global std::unexpected_handler and returns the previously installed std::unexpected_handler.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
目次 |
パラメータ
f | - | タイプstd::unexpected_handler、またはNULLポインタの関数へのポインタ
Original: pointer to function of type std::unexpected_handler, or null pointer The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
値を返します
以前にインストールした予期しないハンドラ、またはどれもインストールされていない場合は、nullポインタ値.
Original:
The previously-installed unexpected handler, or a null pointer value if none was installed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
例外
noexcept 指定:
noexcept