Pointers to loop variables

Code reviewMedium25 minNvidia and Apple style

Your task

Review this C++ code that stores pointers to loop-local objects.