Been playing around with hashtables (excuse me, "unordered maps") from the forthcoming version of C++. The use of templates here is truly impressive, as are the error messages that result if you do something wrong. On the right is an error I got while compiling. It's not something I contrived -- it's a real compile error. And no, you're not looking at multiple error messages -- that's a single error message. It's so long, the terminal runs out of space to display it. It's saying that you can't ask whether an iterator to a unordered map of
Friday, March 20, 2009
World's longest error?
Been playing around with hashtables (excuse me, "unordered maps") from the forthcoming version of C++. The use of templates here is truly impressive, as are the error messages that result if you do something wrong. On the right is an error I got while compiling. It's not something I contrived -- it's a real compile error. And no, you're not looking at multiple error messages -- that's a single error message. It's so long, the terminal runs out of space to display it. It's saying that you can't ask whether an iterator to a unordered map of
Subscribe to:
Post Comments (Atom)
An iterator to an unordered map of--huh??? THAT doesn't make sense to me. But then none of your computer stuff does. I wish I could help you like you help me, but I don't know enough to. :(
ReplyDeleteAnd yes, that is quite an error message. Goodness.
Are you sure you didn't just miss a semi-colon?
ReplyDeleteActually, I used the wrong variable on one side of the comparison.
ReplyDelete