Exception Handling(Chapter 14 of The C++ Programming Language)
2010-08-05 23:31
861 查看
As for functions, the ellipsis ... indicates ‘‘any argument’’, so catch(...) means ‘‘catch any exception.’’ Throwing or catching an exception affects the way a function relates to other functions. It can therefore be worthwhile to specify the set of exceptions that might be thrown as part of the function declaration.
相关文章推荐
- Types and Declarations(Chapter 4 of The C++ Programming Language)
- Namespaces and Exceptions(Chapter 8 of The C++ Programming Language)
- Operator Overloading(Chapter 11 of The C++ Programming Language)
- Library Organization and Containers(Chapter 16 of The C++ Programming Language)
- Derived Classes(Chapter 12 of The C++ Programming Language)
- Functions(Chapter 7 of The C++ Programming Language)
- Expressions and Statements(Chapter 6 of The C++ Programming Language)
- Source Files and Programs(Chapter 9 of The C++ Programming Language)
- Notes to the Reader(Chapter 1 of The C++ Programming Language)
- A Tour of the Standard Library(Chapter 3 of The C++ Programming Language)
- Pointers, Arrays, and Structures(Chapter 5 of The C++ Programming Language)
- Templates(Chapter 13 of The C++ Programming Language)
- Class Hierarchies(Chapter 15 of The C++ Programming Language)
- A Tour of C++(Chapter 2 of The C++ Programming Language)
- Classes(Chapter 10 of The C++ Programming Language)
- Selected solutions to exercise of "The C Programming Language" 2e (Part 7, End of Chapter 1)
- The C++ Programming Language Chapter 3 ( 读书笔记)
- The C Programming Language——Exercise solutions of the chapter one (1st)
- Stability of the C++ ABI: Evolution of a Programming Language
- Chapter 8 The Development of Computer Programming Languages