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

Method swap

dlib/array2d/array2d_kernel.h:227–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225 }
226
227 void swap (
228 array2d& item
229 )
230 {
231 exchange(data,item.data);
232 exchange(nr_,item.nr_);
233 exchange(nc_,item.nc_);
234 exchange(at_start_,item.at_start_);
235 exchange(cur,item.cur);
236 exchange(last,item.last);
237 pool.swap(item.pool);
238 }
239
240 void clear (
241 )

Callers 7

swapFunction · 0.45
swapFunction · 0.45
swapFunction · 0.45
swapMethod · 0.45
resizeMethod · 0.45
push_backMethod · 0.45
swapFunction · 0.45

Calls 1

exchangeFunction · 0.85

Tested by

no test coverage detected