Vector元素要是Ref的子类,ValueVector元素要是Value类型,那Rect,Vec2这种怎么放进数组?,需要能随时增加减少元素的那种数组。
可以用 std::vector
std::vector