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++
Default ctor, etc generated by compiler for structs?
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="Jim Langston, post: 2932461"] If your structure is POD, then there should be no reason not to allow the compiler to create default constructor, destrucctor, copy constructor and assignment operators. I would say it was okay, but I do not know for exactly what reason you crete the 4 for classes (not saying it's a bad thing, probably a very good thing, I just don't know your reasoning behind it). [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Default ctor, etc generated by compiler for structs?
Top