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++
Why can't PODs have constructors?
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="BobR, post: 2992174"] James Kanze wrote in message... /* """ quote Not quite. There's also a compiler generated copy constructor. """ */ Thanks James. I posted late night, and started to re-post an addition, but, was talking about constructors only. Copy-constructors are, to me, an separate column. Like the old Chinese restaurant menu, one from column A, one from column B, etc. (Ctor, CCtor, op=, Dtor). (what, two from column A? that will be another $2.75! only one in col D, the Dessert-tor (when you finish that, the meal is over.)). Without an constructor, a copy-constructor seems pretty useless (how would you get an instance to copy? <G>). [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Why can't PODs have constructors?
Top