The C++ Standard Library: Standard Exception Classes
来源:互联网 发布:如何自己注册域名 编辑:程序博客网 时间:2024/05/18 02:59
语言及库中支持的所有异常类都继承自基类exception
。
标准库中的部分类,比如string
类,它们支持详细的错误处理,核查每一个可能发生的问题,并在有错误的时候抛出(throw)exception
。而另一些追求速度高于安全的类,比如标准模板库STL和可变数组类valarray
,它们很少会核查逻辑错误,只有在有运行时错误发生的时候才会抛出异常。
标准异常类(Standard Exception Classes)可以划分为三类:
- Language support
- Logic errors
- Runtime errors
1. Exception Classes for Language Support
2. Exception Classes for Logic errors
3. Exception Classes for Runtime errors
0 0
- The C++ Standard Library: Standard Exception Classes
- The Standard C Library
- the C standard library 学习笔记
- The Python Standard Library
- C Standard Library
- C Standard Library
- C Standard Library
- C standard library headers
- C Standard Library
- 《The C++ Standard Library》读书笔记
- beyond+the+c+++standard+library中的lambda教程
- (转)The Standard C Library 经典的基础(上)
- (转)The Standard C Library 经典的基础(下)
- Porting in c standard library
- C Standard Library header files
- The Standard Librarian: Sorting in the Standard Library
- C runtime Library And Standard C++ Library
- 个人翻译Beyond the C++ Standard Library
- GitHub上史上最全的Android开源项目分类汇总
- 每月的第一天和最后一天oracle
- C-010.switch语句-----分支结构用作条件判断
- android gradle compile(一)
- 收集微信里的图像处理中常用的图像库
- The C++ Standard Library: Standard Exception Classes
- 审核被拒的原因搜罗
- “十三五”基础教育装备新局面
- 《大话数据结构》之二叉树的四种遍历
- POJ_1064 二分搜索
- 百度地图定位完整版
- cmd命令行字符编码修改
- 【curator】KeeperErrorCode = Unimplemented for /zookeeper/crud
- JavaScript获取Select下拉框Option的Value和Text值的方法