User profile: jbarnesweb

User info
User name:jbarnesweb
History
Joined:
Number of posts:5
Latest posts:

auto_ptr transfer of ownership behavior
Achhhhh. print should have been virtual. My mistake. Never mind.

auto_ptr transfer of ownership behavior
Thanks jsmith. I'm still trying to get my head around auto_ptr behavior. Consider the following c...

auto_ptr transfer of ownership behavior
Thanks, jsmith for the Aha moment. You're saying if A::print accessed an instance variable, it wo...

auto_ptr transfer of ownership behavior
It did *not* segfault. I want the ownership to pass to b, but apparently it did not. Take another lo...

auto_ptr transfer of ownership behavior
Hello. I apologize if this question has been asked before. Consider the following code: #inclu...

This user does not accept Private Messages