MCPcopy Create free account
hub / github.com/OGSR/OGSR-Engine / insert

Method insert

ogsr_engine/xrCore/FixedVector.h:91–98  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89 IC void erase(iterator it) { erase(u32(it - begin())); }
90
91 IC void insert(u32 id, reference V)
92 {
93 R_ASSERT(id < count);
94 for (int i = count; i > int(id); i--)
95 array[i] = array[i - 1];
96 count++;
97 array[id] = V;
98 }
99 IC void assign(const_iterator p, int c)
100 {
101 R_ASSERT(c > 0 && c <= dim);

Callers 5

RegisterMethod · 0.45
dockMethod · 0.45
register_file_mappingFunction · 0.45
start_threadsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected