MCPcopy Create free account
hub / github.com/HelenOS/helenos / insert

Method insert

uspace/lib/cpp/include/__bits/adt/vector.hpp:415–423  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

413 }
414
415 iterator insert(const_iterator position, const value_type& x)
416 {
417 auto pos = const_cast<iterator>(position);
418
419 pos = shift_(pos, 1);
420 *pos = x;
421
422 return pos;
423 }
424
425 iterator insert(const_iterator position, value_type&& x)
426 {

Callers

nothing calls this directly

Calls 4

copyFunction · 0.85
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected