コード例 #1
0
ファイル: std_map.cs プロジェクト: yazici/mogre-procedural
 public static std_pair <TKey, TValue>[] get_allocator(std_map <TKey, TValue> _this)
 {
     KeyValuePair <TKey, TValue>[] array = new KeyValuePair <TKey, TValue> [_this.Count];
     _this.CopyTo(array, 0);
     std_pair <TKey, TValue>[] sps = new std_pair <TKey, TValue> [_this.Count];
     for (int i = 0; i < _this.Count; i++)
     {
         sps[i] = new std_pair <TKey, TValue>(array[i]);
     }
     return(sps);
 }