Ray's playground

 

2010年8月5日

Exception Handling(Chapter 14 of The C++ Programming Language)

摘要: As for functions, theellipsis ... indicates ‘‘any argument’’, so catch(...) means ‘‘catch any exception.’’  Throwing or catching an exception affects th... 阅读全文

posted @ 2010-08-05 23:31 Ray Z 阅读(155) 评论(0) 推荐(0) 编辑

Templates(Chapter 13 of The C++ Programming Language)

摘要: [1] Use templates to express algorithms that apply to many argument types;  [2] Use templates to express containers;  [3] Provide specializations for containers of pointers to minimize code size;  [4]... 阅读全文

posted @ 2010-08-05 12:28 Ray Z 阅读(189) 评论(0) 推荐(0) 编辑

导航