I\'m just getting to grips with C++ heap memory management (coming from a JS / C# GC managed world) and am wondering why this works(!):
This:
for (int i{5