5 ms·
> Why not simply add an `is_closed` flag and throw an error if it is? That's a way of doing it at runtime. The article describes catching the error at compile
by msl 7y ago
> Why not simply add an `is_closed` flag and throw an error if it is?
That's a way of doing it at runtime. The article describes catching the error at compile time.
- amedvednikov 7y agoI see, thanks.