3 template <typename TargetGeneration, typename Policy>
4 struct copying_collector : collector<TargetGeneration, Policy> {
7 copying_collector(factor_vm* parent, TargetGeneration* target,
9 : collector<TargetGeneration, Policy>(parent, target, policy),
12 void cheneys_algorithm() {
13 while (scan && scan < this->target->here) {
14 this->visitor.visit_object((object*)scan);
15 scan = this->target->next_object_after(scan);