It is using a single core as long as there is nothing special inside some_complicated_calculation() that creates threads or uses async (C++11) or similar.
The activity you see on the task manager cannot be related to the executable that iterates. It could be totally unrelated to what you are working on.