public static void swap(ref std_vector <T> _this, ref std_vector <T> _other) { std_vector <T> temp = _this; _this = _other; _other = temp; }
/// <summary> /// 返回关联分配器 /// </summary> /// <returns></returns> public std_vector <T> get_allocator() { std_vector <T> copy = new std_vector <T>(this.ToArray()); return(copy); }