Closed Dllieu closed 6 years ago
The loop has no exit condition, so you can't get down there. The only way to exit the loop is through the return statement. You will always hit the it->has_value()
case because there is a special entry at the end of the table that stops iteration.
Hello,
Is it intended?
I believe it should at least return
end()
orcend()
depending of the constness of the iteratorsee https://github.com/skarupke/flat_hash_map/pull/8