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

Method swap

dlib/memory_manager/memory_manager_kernel_3.h:282–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 }
281
282 void swap (
283 memory_manager_kernel_3& item
284 )
285 {
286 exchange(allocations,item.allocations);
287 exchange(next,item.next);
288 exchange(first_chunk,item.first_chunk);
289 exchange(arrays,item.arrays);
290 }
291
292 private:
293

Callers 1

swapFunction · 0.45

Calls 1

exchangeFunction · 0.85

Tested by

no test coverage detected