考试网 >> IT认证 >> 水平 >> 软件指导 >> C++的异常对象按传值的方式被复制和传递

C++的异常对象按传值的方式被复制和传递

发布时间:2006-06-28 05:19     点击:
分页:上一页  1 2 3 4 5 [6] 7 8 9  下一页

00401CF0 mov dword ptr [ebp-74h],ecx

00401CF3 mov byte ptr [ebp-4],4

00401CF7 mov esi,esp

00401CF9 mov edx,dword ptr [__imp_?endl@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@1@AAV21@@Z

00401CFF push edx

00401D00 mov eax,dword ptr [ebp-74h]

00401D03 push eax

00401D04 mov edi,esp

00401D06 push offset string "\xb2\xb6\xbb\xf1\xb5\xbd\xd2\xbb\xb8\xf6MyException\xc0\xe0\xd0\xcd\xb5\x

00401D0B mov ecx,dword ptr [__imp_?cout@std@@3V?$basic_ostream@DU?$char_traits@D@std@@@1@A (0041614c)

00401D11 push ecx

00401D12 call dword ptr [__imp_??6std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z (004

00401D18 add esp,8

00401D1B cmp edi,esp

00401D1D call _chkesp (00401982)

00401D22 push eax

00401D23 call std::operator<< (0040194e)

00401D28 add esp,8

00401D2B mov ecx,eax

00401D2D call dword ptr [__imp_??6?$basic_ostream@DU?$char_traits@D@std@@@std@@QAEAAV01@P6AAAV01@AAV01

00401D33 cmp esi,esp

00401D35 call _chkesp (00401982)

00401D3A mov byte ptr [ebp-4],3

00401D3E mov esi,esp

00401D40 lea ecx,[ebp-64h]

00401D43 call dword ptr [__imp_??1?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@QAE@XZ

00401D49 cmp esi,esp

00401D4B call _chkesp (00401982)

371: } // 瞧瞧下面,catch block后不是调用析构函数了吗?
分页:上一页  1 2 3 4 5 [6] 7 8 9  下一页
版权申明:未经书面授权请勿转载本站信息!!作品版权归所属媒体与作者所有!!
发表评论: 匿名发表 用户名: 查看评论
您将承担一切因您的行为、言论而直接或间接导致的民事或刑事法律责任
留言板管理人员有权保留或删除其管辖留言中的任意内容
本站提醒:不要进行人身攻击。谢谢配合。
在本站搜索相关信息
2003-2005 Ksw123.com All Rights Reserved. - TOP
Copyright © 2006 Ksw123.com. All rights reserved.中国考题网 版权所有