You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This leads to undefined behavior since the memory is not initialized with a Foo but the implementation calls the assignment operator of Foo with the uninitialized memory as left hand side.