Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/crossuo/crossuo
/ SwapRemove
Method
SwapRemove
external/tinyxml2.h:285–290 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
283
}
284
285
void SwapRemove(int i) {
286
TIXMLASSERT(i >= 0 && i < _size);
287
TIXMLASSERT(_size > 0);
288
_mem[i] = _mem[_size - 1];
289
--_size;
290
}
291
292
const T* Mem() const {
293
TIXMLASSERT( _mem );
Callers
1
MarkInUse
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected