MCPcopy Create free account
hub / github.com/DanielChappuis/reactphysics3d / remove

Method remove

include/reactphysics3d/containers/Map.h:428–432  ·  view source on GitHub ↗

Remove the element pointed by some iterator This method returns an iterator pointing to the element after the one that has been removed

Source from the content-addressed store, hash-verified

426 /// This method returns an iterator pointing to the element after
427 /// the one that has been removed
428 Iterator remove(const Iterator& it) {
429
430 const K& key = it->first;
431 return remove(key);
432 }
433
434 /// Remove the element from the map with a given key
435 /// This method returns an iterator pointing to the element after

Callers 15

testAddRemoveClearMethod · 0.45
testContainsKeyMethod · 0.45
testAddRemoveClearMethod · 0.45
testContainsMethod · 0.45
testFindMethod · 0.45
testEqualityMethod · 0.45
testAddRemoveClearMethod · 0.45
destroyComponentMethod · 0.45
destroyComponentMethod · 0.45
destroyComponentMethod · 0.45
destroyComponentMethod · 0.45
destroyComponentMethod · 0.45

Calls 1

IteratorClass · 0.70

Tested by 7

testAddRemoveClearMethod · 0.36
testContainsKeyMethod · 0.36
testAddRemoveClearMethod · 0.36
testContainsMethod · 0.36
testFindMethod · 0.36
testEqualityMethod · 0.36
testAddRemoveClearMethod · 0.36