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

Method swap

dlib/sliding_buffer/circular_buffer.h:152–156  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

150 }
151
152 void swap( circular_buffer& item)
153 {
154 std::swap(item.offset, offset);
155 data.swap(item.data);
156 }
157
158
159 private:

Callers 4

swapFunction · 0.45
swapFunction · 0.45
swapFunction · 0.45
swapFunction · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected