示例#1
0
		//-----------------------------------------------------------------//
		handle_set(bool zhe = true, uint32_t fas = 0) : array_(), erase_set_(),
														zero_handle_enable_(zhe) {
			if(fas) {
				array_.reserve(fas);
				array_.clear();
			}
			if(zero_handle_enable_) array_.push_back(T());
		}
示例#2
0
		//-----------------------------------------------------------------//
		void clear() {
			erase_set_.clear();
			array_.clear();
			if(zero_handle_enable_) array_.push_back(T());
		}