MCPcopy Create free account
hub / github.com/ElementsProject/elements / insert

Method insert

src/test/prevector_tests.cpp:96–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94 }
95
96 void insert(Size position, const T& value) {
97 real_vector.insert(real_vector.begin() + position, value);
98 pre_vector.insert(pre_vector.begin() + position, value);
99 test();
100 }
101
102 void insert(Size position, Size count, const T& value) {
103 real_vector.insert(real_vector.begin() + position, count, value);

Callers 2

insert_rangeMethod · 0.45
BOOST_AUTO_TEST_CASEFunction · 0.45

Calls 1

beginMethod · 0.45

Tested by

no test coverage detected