ldas-tools-filters
2.6.4
|
This class implements a trivial exception-safe C-style array. More...
#include <basic_array.hh>
Public Member Functions | |
basic_array (const size_t size) | |
Construct a basic_array. More... | |
~basic_array () | |
Destructor. | |
operator const T * () const | |
Implicit cast to a const T*. | |
operator T* () | |
Implicit cast to a T*. | |
const T & | operator[] (const size_t k) const |
Return a const reference to the k'th element. | |
T & | operator[] (const size_t k) |
Return a modifiable reference to the k'th element. | |
T * | release () |
Transfer ownership of internal data. | |
basic_array (const size_t size) | |
Construct a basic_array. More... | |
~basic_array () | |
Destructor. | |
operator const T * () const | |
Implicit cast to a const T*. | |
operator T* () | |
Implicit cast to a T*. | |
const T & | operator[] (const size_t k) const |
Return a const reference to the k'th element. | |
T & | operator[] (const size_t k) |
Return a modifiable reference to the k'th element. | |
T * | release () |
Transfer ownership of internal data. | |
basic_array (const size_t size) | |
Construct a basic_array. More... | |
~basic_array () | |
Destructor. | |
operator const T * () const | |
Implicit cast to a const T*. | |
operator T* () | |
Implicit cast to a T*. | |
const T & | operator[] (const size_t k) const |
Return a const reference to the k'th element. | |
T & | operator[] (const size_t k) |
Return a modifiable reference to the k'th element. | |
T * | release () |
Transfer ownership of internal data. | |
This class implements a trivial exception-safe C-style array.
|
inline |
Construct a basic_array.
[in] | size | size of array to be constructed |
|
inline |
Construct a basic_array.
[in] | size | size of array to be constructed |
|
inline |
Construct a basic_array.
[in] | size | size of array to be constructed |