|
UCommon
|
Generic smart array class. More...
#include <generics.h>
Public Member Functions | |
| array_pointer (T *ptr=NULL) | |
| array_pointer (const array_pointer< T > &ref) | |
| operator bool () const | |
| bool | operator! () const |
| T * | operator() (size_t offset) const |
| T * | operator* () const |
| array_pointer & | operator= (const array_pointer< T > &ref) |
| array_pointer & | operator= (T *ptr) |
| T & | operator[] (size_t offset) const |
| void | release (void) |
| void | retain (void) |
| void | set (T *ptr) |
| void | set (const array_pointer< T > &ref) |
Protected Attributes | |
| T * | array |
| unsigned * | counter |
Generic smart array class.
This is the original Common C++ "Pointer" class with a few additions for arrays.
Definition at line 156 of file generics.h.
1.8.14