diff options
author | Evan Brown <ezb@google.com> | 2022-11-01 13:26:41 -0700 |
---|---|---|
committer | Copybara-Service <copybara-worker@google.com> | 2022-11-01 13:27:28 -0700 |
commit | 0064d9db90d32d35e9f9d70e2df4ddf8d0ab1257 (patch) | |
tree | 2dbc4c0b74ccedb8f0d4134493e92515f691a10c /absl/strings/internal | |
parent | 2b403ec754ec342311720467277c346e413e3438 (diff) |
Improve error messages when dereferencing invalid swisstable iterators.
- Separate the failure cases into different assertions: end/default constructed vs rehashed or erased.
- Update the assertion error for AssertIsValid to not mention the end iterator case because end iterators are considered valid by AssertIsValid.
- Also fix an out-of-date comment for skip_empty_or_deleted.
PiperOrigin-RevId: 485402559
Change-Id: I593056abdc6c3565d0396fb885923fef643bf4e4
Diffstat (limited to 'absl/strings/internal')
0 files changed, 0 insertions, 0 deletions