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++
Creating an object that is read from an input stream.
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="David White, post: 1472480"] This function does an infinite recursive call. Did you mean object.extract(is)? Why not make this function a friend of the class, and let it do what the class extract function does, and get rid of the extract function? Why take two steps when you can take one? With this, you can't read into an existing object. All this looks like a lot of trouble. Again, you can't read into an existing object. Of all these, version 1 (suitably modified) looks the best to me, but maybe you have special reasons for preferring another. DW [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Creating an object that is read from an input stream.
Top