std::quick_exit
提供:cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| 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. |
[編集] 値を返します
(なし)
Original:
(none)
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.
[編集] 例外
[編集] 例
| 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
| |