PVarSizeList VarSizeList_expand_set(const PVarSizeList pset, const double* error, const double* work, uint32 count, ind_t dimLookahead){ PVarSizeList result = new VarSizeList(); *result = pset->expand_set(error, work, count, dimLookahead); return result; }