Fabcoin Core
0.16.2
P2P Digital Currency
|
Manages resources for an array of objects. More...
#include <smartptr.h>
Public Member Functions | |
vector_member_ptrs (size_t size=0) | |
Construct an arry of T . More... | |
~vector_member_ptrs () | |
member_ptr< T > & | operator[] (size_t index) |
const member_ptr< T > & | operator[] (size_t index) const |
size_t | size () const |
void | resize (size_t newSize) |
Private Member Functions | |
vector_member_ptrs (const vector_member_ptrs< T > &c) | |
void | operator= (const vector_member_ptrs< T > &x) |
Private Attributes | |
size_t | m_size |
member_ptr< T > * | m_ptr |
Manages resources for an array of objects.
T | class or type |
Definition at line 284 of file smartptr.h.
|
inline |
Construct an arry of T
.
size | the size of the array, in elements |
If T
is a Plain Old Dataype (POD), then the array is uninitialized.
Definition at line 290 of file smartptr.h.
|
inline |
Definition at line 292 of file smartptr.h.
|
private |
|
private |
|
inline |
Definition at line 295 of file smartptr.h.
|
inline |
Definition at line 297 of file smartptr.h.
|
inline |
|
inline |
|
private |
Definition at line 316 of file smartptr.h.
|
private |
Definition at line 315 of file smartptr.h.