Gecode::Memory::AutoArray< T > Class Template Reference
Detailed Description
template<class T>
class Gecode::Memory::AutoArray< T >
Helper class for large automatic memory chunks.
Definition at line 199 of file memory.icc.
Public Member Functions | |
AutoArray (const int n) | |
~AutoArray (void) | |
T & | operator[] (const int i) |
T & | operator[] (const unsigned int i) |
operator T * (void) |
Constructor & Destructor Documentation
template<class T>
Gecode::Memory::AutoArray< T >::AutoArray | ( | const int | n | ) | [inline] |
Definition at line 203 of file memory.icc.
template<class T>
Gecode::Memory::AutoArray< T >::~AutoArray | ( | void | ) | [inline] |
Definition at line 206 of file memory.icc.
Member Function Documentation
template<class T>
T& Gecode::Memory::AutoArray< T >::operator[] | ( | const int | i | ) | [inline] |
Definition at line 209 of file memory.icc.
template<class T>
T& Gecode::Memory::AutoArray< T >::operator[] | ( | const unsigned int | i | ) | [inline] |
Definition at line 210 of file memory.icc.
template<class T>
Gecode::Memory::AutoArray< T >::operator T * | ( | void | ) | [inline] |
Definition at line 211 of file memory.icc.
The documentation for this class was generated from the following file:
- gecode/support/memory.icc (Revision: 5291)