Posts Tagged ‘Error’

A C++ STL Error Message

Here’s an interesting error I got while compiling C++ code during a TopCoder SRM.
LongStraightRoad.cc:43: error: no match for ‘operator==’ in ‘dist. std::map::find [with _Key = std::basic_string, _Tp = double, _Compare = std::less, _Alloc = std::allocator](((const std::basic_string&)((const std::basic_string*)(& dest)))) == std::map::end [with _Key = std::basic_string, _Tp = double, _Compare = std::less, _Alloc = std::allocator]
PS: As far [...]

Read the rest of this entry »