Local pool public members/functions moved to top
This commit is contained in:
@ -17,10 +17,11 @@ public:
|
||||
//We could create a constructor to initialize the fixed array list with data and the known size field
|
||||
//so it can be used for serialization too (with SerialFixedArrrayListAdapter)
|
||||
//is this feasible?
|
||||
// FixedArrayList(T * data_, count_t count):
|
||||
// ArrayList<T, count_t>(data, MAX_SIZE) {
|
||||
// memcpy(data, data_, count);
|
||||
// }
|
||||
FixedArrayList(T * data_, count_t count):
|
||||
ArrayList<T, count_t>(data, MAX_SIZE) {
|
||||
memcpy(this->data, data_, count);
|
||||
this->size = count;
|
||||
}
|
||||
|
||||
FixedArrayList(const FixedArrayList& other) :
|
||||
ArrayList<T, count_t>(data, MAX_SIZE) {
|
||||
|
Reference in New Issue
Block a user