ソースを参照

array lists now can be cleared

banana-cakes
FelixBrendel 6年前
コミット
07e89f3841
1個のファイルの変更5行の追加0行の削除
  1. +5
    -0
      arraylist.hpp

+ 5
- 0
arraylist.hpp ファイルの表示

@@ -19,6 +19,11 @@ struct Array_List {
data = 0;
}


void clear() {
next_index = 0;
}

Array_List<type> clone() {
Array_List<type> ret;
ret.length = length;


読み込み中…
キャンセル
保存