|
|
|
|
|
by pjmlp
2830 days ago
|
|
Yes there are. Just that instead of being a compiler error like in Java, the unexpected() handler is called; which by default calls terminate() to kill the application. This behaviour has been removed in C++17. However C++23 might introduce a similar syntax for value type exceptions, but following up semantics similar to how Swift does it. |
|