I just noticed this interesting quote from the HashMap documentation.

"The behavior resulting from such a logic error is not specified, but will not result in undefined behavior. This could include panics, incorrect results, aborts, memory leaks, and non-termination."

Am I missing something or does this say "we don't define the behaviour, but it is not undefined"?

Sign in to participate in the conversation

Mastodon server for