MCPcopy Create free account
hub / github.com/davisking/dlib / swap

Method swap

dlib/memory_manager/memory_manager_kernel_2.h:214–221  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

212 }
213
214 void swap (
215 memory_manager_kernel_2& item
216 )
217 {
218 exchange(allocations,item.allocations);
219 exchange(next,item.next);
220 exchange(first_chunk,item.first_chunk);
221 }
222
223 private:
224

Callers 4

swapFunction · 0.45
swapFunction · 0.45
clearFunction · 0.45

Calls 1

exchangeFunction · 0.85

Tested by

no test coverage detected