_ring_pos is slightly confusing. I thought at first that it doesn't do anything since operator== doesn't use it. This cosmetic patch tries to improve the readability, and also removes operator!= which is generated automatically in C++20.
get_address_ranges