aongeeno at openmailbox.org <aongeeno at openmailbox.org> writes: > How I can avoid copying objects in this code? > > for (Category & c : r) > //categories[c.id] = std::make_unique(c); ??? This is described in the manual, specifically, Section 4.4, "Query Result". Boris