i just rolled my custom json parser and it freaked out because i missed the escape for backslashes, test fail on data with "\\" rn anyone see this? ne
Segfault after vector.erase while iterating – what's going wrong?
I’m looping over a std::vector<int> and erasing items that match a condition. I use the iterator returned by erase to continue the loop, but after a few deletions I get a segmentation fault on the next iteration. I think I’m still invalidating an iterator somewhere. Anyone else run into this? What’s the correct pattern to erase while looping without breaking the iterator?
Post Actions
Related posts
i just rolled my custom json parser and it freaked out because i missed a comma lol made me think about xml vs json in c++ anyone have experience with
so i was messing with quantum computing and i got stuck on this one problem. basically, my circuit wasnt behaving like it should and i couldnt figure
spent 3hrs trying to deploy a simple contract and remix just throws vague errors after every tweak... cleared cache, reinstalled node, even rebooted t
Spent four hours battling a pipeline that reduplicated data between stages. Checksum logic failed because two processes wrote overlapping intervals. T
spent 8 hrs making sure the dev branch env had correct auth... turned out it was a caching layer thing?? whatever as long as it's green now. next time
0 Comments
No Comments yet. Be the first to respond!