this->successful = true;
this->ran_out_of_room = false;
this->head = this->start;
+ this->tail = this->end;
this->debug_depth = 0;
}
{
if (unlikely (!this->successful)) return nullptr;
- if (this->end - this->head < ptrdiff_t (size))
+ if (this->tail - this->head < ptrdiff_t (size))
{
this->ran_out_of_room = true;
this->successful = false;
}
public:
+ char *start, *head, *tail, *end;
unsigned int debug_depth;
- char *start, *end, *head;
bool successful;
bool ran_out_of_room;
};