4 ms·
> You can do anything in C that you want to. How about destructors?
by throwaway2037 2y ago
> You can do anything in C that you want to.
How about destructors?
- com2kid 2y agoYou can obviously build any runtime system you desire in C, including one that parses and executes C code with additional features added in. The wisdom of doing this is questionable. Though I've actually seen macro systems that do things akin to destructors, although less automatically.
- nerfnet 2y agoSurely you are aware that C++ destructors are essentially made in C.