3 ms·
If you really need to do something different at each release point then you can have do_something_special_on_deallocation_failure() notify the error to the rele
by fluoridation 4y ago
If you really need to do something different at each release point then you can have do_something_special_on_deallocation_failure() notify the error to the release point by a number of different mechanisms.
Yes, all of this makes the code more complicated. The point of these features is not to make the code simpler, but to make it more robust. Rust is also more complicated than C.