rem: bool result = true; if ((int32)fCapacity > fItemCount) { new(fItems + fItemCount) item_t(item); fItemCount++; } else { if ((result = _Resize(fItemCount + 1))) new(fItems + (fItemCount - 1)) item_t(item);
add: bool result = (index >= 0 && index <= fItemCount && _Resize(fItemCount + 1)); if (result) { _MoveItems(fItems + index, 1, fItemCount - index - 1); new(fItems + index) item_t(item);
context: List<ITEM, DEFAULT_ITEM_SUPPLIER>::AddItem(const item_t &item){	bool result = true;	if ((int32)fCapacity > fItemCount) {		new(fItems + fItemCount) item_t(item);		fItemCount++;	} else {		if ((result = _Resize(fItemCount + 1)))			new(fItems + (fItemCount - 1)) item_t(item);	}	return result;}