Skip to content
Better HN
Top
Best
Ask
Show
New
Jobs
Search
⌘K
0 points
opportune
4y ago
0 comments
Save
Share
This is one reason many people think exceptions in C++ are harmful, they cause unclear implicit behavior. Much better to handle a failure explicitly outside the constructor
0 comments
1 comments · 1 top-level
top
newest
oldest
benibela
4y ago
This is one reason I use Pascal
If the constructor throws an exception, the destructor is called immediately.
j
/
k
navigate · click thread line to collapse