iterator speedup: skip creating objects in c++