std::quick_exit
提供: cppreference.com
![]() |
このページは、Google 翻訳を使って英語版から機械翻訳されました。
翻訳には誤りや奇妙な言い回しがあるかもしれません。文章の上にポインタをおくと、元の文章が見れます。誤りを修正して翻訳を改善する手助けをしてください。翻訳についての説明は、ここをクリックしてください。 |
Defined in header <cstdlib>
|
||
[[noreturn]] void quick_exit( int exit_code ); |
(C++11およびそれ以降) | |
完全に資源を整備せずに発生する通常のプログラムを終了させます.
Original:
Causes normal program termination to occur without completely cleaning the resources.
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.
std::at_quick_exitに渡された関数は、その登録したのと逆の順序で呼び出されます。例外は関数のいずれかから伝播しようとした場合、std::terminateが呼び出されます。登録された関数を呼び出した後、std::_Exit(exit_code)呼び出します
Original:
Functions passed to std::at_quick_exit are called in reverse order of their registration. If an exception tries to propagate out of any of the function, std::terminate is called. After calling the registered functions, calls std::_Exit(exit_code)
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.
目次 |
[編集] パラメータ
exit_code | - | プログラムの状態を終了します
Original: exit status of the program The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
[編集] 値を返します
(なし)
[編集] 例外
[編集] 例
This section is incomplete Reason: no example |
[編集] 参照
(清掃なし)プログラムの異常終了が発生します Original: causes abnormal program termination (without cleaning up) The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
exit()呼び出しのときに呼び出される関数を登録します Original: registers a function to be called on exit() invocation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) | |
(C++11) |
quick_exit呼び出しのときに呼び出される関数を登録します Original: registers a function to be called on quick_exit invocation The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (関数) |
C documentation for quick_exit
|