3 ms·
your words... > C++ implementations of defer are either really ugly I agree with @pjmlp - you need to write wrappers around the C api. But if you.. > If I'm g
by feelamee 8mo ago
your words...
> C++ implementations of defer are either really ugly
I agree with @pjmlp - you need to write wrappers around the C api.
But if you..
> If I'm gonna write RAII wrappers around every tiny little thing that I happen to need to call once
use them just once.. so, why care about ugliness, just write ugly code just once? Code can't be perfect.