5 ms·
Wouldn't function annotations be an API break, too? And I'd imagine checked exceptions would get a decent amount of pushback due to Java's implementation.
by aw1621107 7y ago
Wouldn't function annotations be an API break, too?
And I'd imagine checked exceptions would get a decent amount of pushback due to Java's implementation.
- gpderetta 7y agoYes, but they are opt-in. I think, given the right abstraction capabilities they might work in C++. They are semantically no different than returning an either<T, error>.