[導(dǎo)入]More Exceptional C++ 之 8
關(guān)于 C++ 構(gòu)造函數(shù):- 構(gòu)造函數(shù)通過到達(dá)函數(shù)體結(jié)尾或者 return 表達(dá)式結(jié)束,此時(shí)對象開始存在,或者
- 構(gòu)造函數(shù)拋出一個(gè)異常,那么對象不僅不存在,而且從來就沒有作為一個(gè)“對象”存在過。
文章來源:http://my.donews.com/robinchow/2007/01/29/pcrflkpnmgqpmgsigqxqftmyehrvvsnlufrf/
posted on 2007-10-23 20:47 Robin Chow 閱讀(98) 評論(0) 編輯 收藏 引用