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

I agree that it's trivial to invoke a member function called MarkFileIncludeOnce on some object in response to encountering a #pragma once.

I don't think there is any good way to specify how this should behave for all the corner cases; but a given specification isn't hard to implement.



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

Search: