3 ms·
> If you're going to assign to the handle you have to prove to the compiler that the constructor will return a valid, working handle. I'm trying to imagine how
by UncleEntity 8y ago
> If you're going to assign to the handle you have to prove to the compiler that the constructor will return a valid, working handle.
I'm trying to imagine how one could prove to the compiler that an event in the far distant future is valid (without the obvious solution of throwing an exception in the constructor but that is at runtime so...)
- heavenlyblue 8y agoWell, an event in a far distant future is always valid if none of the paths leading to that event contain any code that raise an exceptional condition. That’s it.