ryo-manba / ft_containers

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

[3pt]push_backでサイズが更新されない #65

Closed ryo-manba closed 2 years ago

ryo-manba commented 2 years ago

概要

vec1 = vec2 とした時にvec1.size()がvec2.size()になっていない。

ryo-manba commented 2 years ago

push_backではなく、operator=が原因だったので、#66 で対応する。