Skip to content

stack overflow不能被try-catch接到 #22

@ClazyChen

Description

@ClazyChen

MSVC下stack overflow为结构化的exception
使用MSVC的__try宏报错,直接用C++原生的try-catch无法捕获stack overflow
目前采用的解决方案是在Algorithm端显式抛出异常避免stack overflow
有待进一步学习MSVC的异常机制

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinghelp wantedExtra attention is needednot determinedWhether to work on this is not determined

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions