scoped_resource: class template, functions, helper policies etc. for resource management. More...
Go to the source code of this file.
Classes | |
class | util::scoped_resource< T, ReleasePolicy > |
A class template, scoped_resource, designed to implement the Resource Acquisition Is Initialization (RAII) approach to resource management. More... | |
struct | util::delete_item |
A helper policy for scoped_ptr. More... | |
struct | util::delete_array |
A helper policy for scoped_array. More... | |
struct | util::scoped_ptr< T > |
A class which implements an approximation of template<typename T> typedef scoped_resource<T*,delete_item> scoped_ptr<T>;. More... | |
struct | util::scoped_array< T > |
This class has identical behavior to scoped_ptr, except it manages heap-allocated arrays instead of heap-allocated single objects. More... | |
struct | util::close_FILE |
This class specializes the scoped_resource to implement scoped FILEs. More... | |
Namespaces | |
util | |
Typedefs | |
typedef scoped_resource < std::FILE *, close_FILE > | util::scoped_FILE |
scoped_resource: class template, functions, helper policies etc. for resource management.
Definition in file scoped_resource.hpp.