MCPcopy Create free account
hub / github.com/arximboldi/immer / do_stuff

Function do_stuff

example/vector/move.cpp:13–16  ·  view source on GitHub ↗

include:move-bad/start

Source from the content-addressed store, hash-verified

11
12// include:move-bad/start
13immer::vector<int> do_stuff(const immer::vector<int> v)
14{
15 return std::move(v).push_back(42);
16}
17// include:move-bad/end
18
19// include:move-good/start

Callers 1

mainFunction · 0.85

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected