But the performance you did showed that `std::for_each` is faster than `range loop` although `std::for_each` does allocate a stack object `child` on each iteration.