3 ms·
You can write zero ops destructor as well. So yes, RAII is zero-cost abstraction.
by unrealhoang 7y ago
You can write zero ops destructor as well. So yes, RAII is zero-cost abstraction.
- fluffything 7y agoI literally said so.
- ncmncm 7y agoYou wrote that in C++ and Rust it is necessary to "opt out" of properly freeing memory. That is a false statement. It is not just incidentally false, it is fundamentally false.