$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Joe Gottman (joegottman_at_[hidden])
Date: 2000-12-19 19:38:29
I think the scoped_ptr class should have a release() function, similar
to the one in std::auto_ptr. This would help in cases like the following
int *foo() {
shared_ptr<int> the_pointer(new int());
//Do stuff that might throw
return the_pointer.release();
}