4
dmonkey
3y

if (vec.size() == 0)
cout << "Size is " << vec.size();
```

Output: "Size is 3"

Ffs

Comments
  • 3
    Shared thread unsafe data?
  • 1
    @iiii @asgs Single thread, not kidding.

    I think it was some misoptimization shit.
  • 0
    @dmonkey now that the notifs are back, I would like to see a test case to simulate this behaviour
Add Comment