util Namespace Reference


Classes

class  array
class  scoped_resource
 A class template, scoped_resource, designed to implement the Resource Acquisition Is Initialization (RAII) approach to resource management. More...
struct  delete_item
 A helper policy for scoped_ptr. More...
struct  delete_array
 A helper policy for scoped_array. More...
struct  scoped_ptr
 A class which implements an approximation of template<typename T> typedef scoped_resource<T*,delete_item> scoped_ptr<T>;. More...
struct  scoped_array
 This class has identical behaviour to scoped_ptr, except it manages heap-allocated arrays instead of heap-allocated single objects. More...
struct  close_FILE
 This class specializes the scoped_resource to implement scoped FILEs. More...

Typedefs

typedef scoped_resource
< std::FILE *, close_FILE
scoped_FILE


Typedef Documentation

Definition at line 188 of file scoped_resource.hpp.


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs