Skip to content

C++ Exceptions under the hood #5298

@ChengzhiHuang

Description

@ChengzhiHuang

https://nicolasbrailo.github.io/blog/projects_texts/13exceptionsunderthehood.html

让一个函数在发现了自己无法处理的错误时抛出(throw)一个异常,然后它的(直接或者间接)调用者能够处理这个问题,核心就是将问题检测和问题处理相分离。所以,异常处理的核心不在异常,而在处理。

因此可以了解对应的异常知识,而且包含动手。

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions