LWN.net Logo

Zeuthen: Writing a C library, part 1

Zeuthen: Writing a C library, part 1

Posted Jun 29, 2011 13:02 UTC (Wed) by michaeljt (subscriber, #39183)
In reply to: Zeuthen: Writing a C library, part 1 by HelloWorld
Parent article: Zeuthen: Writing a C library, part 1

> C++ provides destructors and exceptions to help me deal with resource management and error handling.

Can you be sure though without testing e.g. like what the OP mentioned that your destructors and exceptions will handle the OOP case correctly?


(Log in to post comments)

Zeuthen: Writing a C library, part 1

Posted Jun 29, 2011 13:04 UTC (Wed) by michaeljt (subscriber, #39183) [Link]

Sorry, OOM of course.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds