blob: d513e21a99d39a3e2319432a5db8c45d5e36c5ff [file] [log] [blame]
This is the scoped_ptr from Boost with some additions by Google.
Source files and modifications
scoped_ptr_malloc added in by Ray Sidney of Google. When one of these goes
out of scope, instead of doing a delete or delete[], it calls free().
scoped_ptr_malloc<char> is likely to see much more use than any other
release() added in by Spencer Kimball of Google. Use this to conditionally
transfer ownership of a heap-allocated object to the caller, usually on
method success.