ryo-manba / ft_containers

Reimplementation of STL containers.
MIT License
0 stars 0 forks source link

[3pt]eraseで要素を消しすぎてしまう(map) #73

Closed ryo-manba closed 2 years ago

ryo-manba commented 2 years ago

概要

ループで要素を1つずつeraseすると、途中で余分に消えてしまう。 おそらくノードの繋ぎ変えがうまく行っていない。

ryo-manba commented 2 years ago

balancingしたノードを戻り値にしてなかった()