6 #ifndef CMR_BASE_ARRAY_INCLUDED
7 #define CMR_BASE_ARRAY_INCLUDED
14 const size_t ARRAY_INITIAL_SIZE = 2;
46 void clear_(
size_t item_size, FunctionDestructor d,
bool all);
65 Byte* at_(
size_t i,
size_t item_size);
66 const Byte* at_(
size_t i,
size_t item_size)
const;
87 const Byte* data()
const
100 size_t current_index_;
102 Dummy& get_dummy()
const;
107 return current_index_;
109 operator bool ()
const
121 size_t current_index_;
123 const Dummy& get_dummy()
const;
124 const Byte* get_data()
const;
128 return current_index_;
130 operator bool ()
const
136 static bool next_(
iterator& i,
size_t item_size);
153 size_t reserved()
const;
Definition: BaseArray.h:93
Byte * data()
Definition: BaseArray.h:83
Definition: BaseArray.h:114
unsigned char Byte
Definition: Type.h:64
void(* FunctionConstructor)(Byte *, const Byte *)
Definition: Allocator.h:88
Definition: BaseArray.h:22