Fixed-size array encapsulation. In debug mode, a bound check is performed at each access.
More...
#include <Array.h>
Public Member Functions |
Obj | operator[] (const unsigned int i) const |
Obj & | operator[] (const unsigned int i) |
Public Attributes |
Obj | array [SIZE] |
Detailed Description
template<typename Obj, unsigned int SIZE>
struct tlp::Array< Obj, SIZE >
Fixed-size array encapsulation. In debug mode, a bound check is performed at each access.
- Author
- : David Auber auber.nosp@m.@tul.nosp@m.ip-so.nosp@m.ftwa.nosp@m.re.or.nosp@m.g
- Version
- 0.0.1 24/01/2003
Member Function Documentation
template<typename Obj, unsigned int SIZE>
Obj tlp::Array< Obj, SIZE >::operator[] |
( |
const unsigned int |
i | ) |
const |
|
inline |
template<typename Obj, unsigned int SIZE>
Obj& tlp::Array< Obj, SIZE >::operator[] |
( |
const unsigned int |
i | ) |
|
|
inline |
Member Data Documentation
template<typename Obj, unsigned int SIZE>