|
|
Subscribe / Log in / New account

GCC begins move to C++

GCC begins move to C++

Posted Jun 2, 2010 17:25 UTC (Wed) by avik (guest, #704)
In reply to: GCC begins move to C++ by HelloWorld
Parent article: GCC begins move to C++

Typically you provide a close() method that does a ::close() and throws an exception on failure. The close() in the destructor only frees the file descriptor. Some information is lost (the second error), but that's not different to C where you typically have a single-valued error return (and must also close() the fd).


to post comments


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