goto statement
提供: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. |
転送は、目的の場所に制御します
Original:
Transfers control to the desired location
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.
それは、従来の構造体を使用して目的の場所に制御を移すことがそうでなければ不可能である場合に使用され.
Original:
Used when it is otherwise impossible to transfer control to the desired location using conventional constructs.
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.
目次 |
[編集] 構文
goto label
|
|||||||||
[編集] 説明
goto文はlabelで指定された場所に制御を転送します。 goto文は、それが参照しているlabelと同じ関数でなければなりません。 goto文の転送は下位コントロールしている場合、まだlabel時に初期化されていないすべてのオブジェクトが破棄されています。それはそうすることが、オブジェクトの初期化をスキップしたい場合は、コントロール転送を転送するために許可されていません.
Original:
The goto statement transfers control to the location, specified by label. The goto statement must be in the same function as the label it is referring. If goto statement transfers control backwards, all objects, that are not yet initialized at the label are destructed. It is not allowed to transfer control forwards if doing so would skip initialization of an object.
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 |