namespace factor { template struct copying_collector : collector { cell scan; explicit copying_collector(factor_vm *parent_, TargetGeneration *target_, Policy policy_) : collector(parent_,target_,policy_), scan(target_->here) {} void cheneys_algorithm() { while(scan && scan < this->target->here) { this->trace_object((object *)scan); scan = this->target->next_object_after(scan); } } }; }