Boost logo

Boost :

From: Ian Bruntlett (Ian.Bruntlett_at_[hidden])
Date: 2000-04-07 06:31:34

auto_res<> is essentially auto_ptr<> for resources instead of pointers.

There is scope for other smart resouce types, they can be implemented later.

An implementation of auto_res is attached, along with a short test
(artest.cpp) program that uses it and enables some testing code.
Borland C++ Builder was used to develop this, I haven't looked at other

Its only been tested for managing mythical resources (Widgets and Gizmos) &
I offer no guarantees etc.

Note : Any feedback during the weekend won't reach me till Monday.
Proper documentation will be written later.


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