fix const-ness of non-mutating iterator creation for maps

simplify map class structure

(0) -300 -100 -30 -10 -2 +2 +10 +30 +100 +300 tip

mercurial