Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2001-04-01 15:27:02


on 3/30/01 10:00 AM, Gary Powell at Gary.Powell_at_[hidden] wrote:

> I took the version of auto_array_ptr that Greg Colvin posted last October
> and "boostified" it. As in it now compiles with gcc 2.95.2 and MSVC sp 5
> (And I suspect sp 4).
[SNIP]

I have something similar (auto_ary) in the "memory.zip" file in the vault.
I don't have a version of auto_ptr, but I do have some other classes, a
temporary buffer RAII class and a C-based (malloc & free) allocator.

> PS
> I added the trick of sizeof(T); to the delete operators to force the
> definition of T to be in scope. So I suppose that makes boost::auto_ptr a
> little better than std::auto_ptr.

What difference does this make?

-- 
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk