Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

    > You can do anything in C that you want to.
How about destructors?


You 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.


Surely you are aware that C++ destructors are essentially made in C.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: