There is a complaint that the following function doesn\'t work because it returns "pointers/iterators to local variables". Is this complaint correct? I can\'t see