B2BITS FIX Antenna HFT
1.0.16
|
std::auto_ptr analogue to operate with dynamic arrays. More...
#include <ArrayAutoPtr.h>
Public Types | |
typedef T const * | const_iterator |
typedef T * | iterator |
Public Member Functions | |
ArrayAutoPtr () | |
Constructor. More... | |
ArrayAutoPtr (T *ptr) | |
Constructor. More... | |
ArrayAutoPtr (ArrayAutoPtr< T > const &other) | |
Copy ctor. More... | |
const_iterator | begin () const |
iterator | begin () |
T * | get () const |
Returns a pointer. More... | |
T & | operator[] (ptrdiff_t idx) |
Indexer. More... | |
T * | release () |
release underlying pointer and return it More... | |
void | reset (T *ptr) |
delete object pointed by underlying pointer and set it to new value More... | |
void | swap (ArrayAutoPtr< T > &rhv) |
~ArrayAutoPtr () | |
Destructor. More... | |
std::auto_ptr analogue to operate with dynamic arrays.
typedef T const* Utils::ArrayAutoPtr< T >::const_iterator |
typedef T* Utils::ArrayAutoPtr< T >::iterator |
|
inline |
Constructor.
|
inlineexplicit |
Constructor.
|
inline |
Copy ctor.
|
inline |
Destructor.
|
inline |
|
inline |
|
inline |
Returns a pointer.
|
inline |
Indexer.
|
inline |
release underlying pointer and return it
|
inline |
delete object pointed by underlying pointer and set it to new value
|
inline |