[ リロード ]   [ 新規 | 編集 | 差分 | 添付 ]   [ トップ | 一覧 | 単語検索 | 最終更新 | バックアップ | ヘルプ ]


15.3 Handling an exception


If the handlers of a function-try-block contain a jump into the body of a constructor or destructor, the program is ill-formed.


If a return statement appears in a handler of the function-try-block of a constructor, the program is ill-formed.


The exception being handled is rethrown if control reaches the end of a handler of the function-try-block of a constructor or destructor. Otherwise, a function returns when control reaches the end of a handler for the function-try-block (stmt.return). Flowing off the end of a function-try-block is equivalent to a return with no value; this results in undefined behavior in a value-returning function

コンストラクタ/デストラクタのfunction-try-blockで捕まえられた例外はハンドラ (catch節)のお尻で再throwされる。


リロード   新規 編集 差分   トップ 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS
Last-modified: Sun, 07 Sep 2003 03:40:55 JST (6428d)
Link: FDIS(6428d)

Modified by kotakechin

"PukiWiki" 1.3.5 Copyright © 2001,2002,2003 PukiWiki Developers Team. License is GNU/GPL.
Based on "PukiWiki" 1.3 by sng
Powered by PHP 5.2.17

HTML convert time to 0.009 sec.