Click here to Skip to main content
15,915,509 members

Comments by Are Riff (Top 36 by date)

Are Riff 19-Feb-16 16:02pm View    
The same thing happen. Just after the hall.erase(itn); and when through the next loop crashes happen with message: Vector iterator is not decrementable.

Did I choose the wrong container?
What should I do if I just want a simple list of name and score sorted as it should in Hall Of Fame (without duplicates). The idea look innocent enough.
Are Riff 19-Feb-16 11:00am View    
thanks, it's simple, back to basic, and working.
Are Riff 17-Feb-16 19:05pm View    
I've removed the reference. I also tried it with const reference.
The error were reported on the .obj files, not on any lines.
But using the g++ it can compile fine. weird.
Are Riff 17-Feb-16 16:26pm View    
I use vs2015
Are Riff 17-Feb-16 16:25pm View    
Nope still doesn't work. Besides double, I tried unsigned long long. Same. Same error. Binary '+=': no operator found which takes a right-hand operandi of type 'const std::chrono::duration<double,std::ratio<1,1>>'(or there is no acceptable conversion)