Boost logo

Boost :

From: Mark Rodgers (mark.rodgers_at_[hidden])
Date: 2002-01-18 01:27:42

From: "Brey, Edward D" <EdwardDBrey_at_[hidden]>
> Consider shared_ptr. Its constructor can
> take an auto_ptr, and it does the release for you once it has the pointer
> safely tucked away.

And what would it do if auto_ptr didn't have release? Clearly release is
necessary, but it should be rarely used except by specialist classes.


Boost list run by bdawes at, gregod at, cpdaniel at, john at