Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
C/C++ question about dynamic "static struct"
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="gwowen, post: 5057478"] No-one has suggested otherwise. But that's not what RAII is. RAII is mapping resource acquisition/release to object lifetime, and thus using the *automatic* object construction/destruction semantics of the language to ensure correct resource management. C doesn't have meaningful automatic, deterministic construction/ destruction of non-trivial objects, so you can't do RAII (as it is understood) in pure C. Well, there we'll have to differ. [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
C/C++ question about dynamic "static struct"
Top