#include <scoped_resource.hpp>
Public Member Functions | |
scoped_array (T *p) |
Usage example:
{ const scoped_array<char> ptr(new char[n]); ...use ptr as you would a normal char*... } // ptr is automatically deleted here
Definition at line 175 of file scoped_resource.hpp.
util::scoped_array< T >::scoped_array | ( | T * | p | ) | [inline, explicit] |
Definition at line 177 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 |