C
CID
Hello all,
I was reading about auto_ptr from TC++PL. It tells, the purpose of
auto_ptr_ref is to implement the destructive copy semantics for
ordinary auto_ptrs.
Can somebody there please explain how it achives the requirement ? I am
interested to know how auto_ptr_ref helps in transferring ownership and
how it avoids copying of const auto_ptrs.
Any help will be appreciated.
Thanks and Regards
CID
I was reading about auto_ptr from TC++PL. It tells, the purpose of
auto_ptr_ref is to implement the destructive copy semantics for
ordinary auto_ptrs.
Can somebody there please explain how it achives the requirement ? I am
interested to know how auto_ptr_ref helps in transferring ownership and
how it avoids copying of const auto_ptrs.
Any help will be appreciated.
Thanks and Regards
CID