MCPcopy Create free account
hub / github.com/covscript/covscript / insert

Function insert

sources/instance/type_ext.cpp:272–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

270 }
271
272 array::iterator insert(array &arr, array::iterator &pos, const var &val)
273 {
274 return arr.insert(pos, copy(val));
275 }
276
277 array::iterator erase(array &arr, array::iterator &pos)
278 {

Callers

nothing calls this directly

Calls 3

insert_or_assignFunction · 0.85
copyFunction · 0.50
to_stringMethod · 0.45

Tested by

no test coverage detected