MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / swap

Method swap

extern/boost/boost/array.hpp:157–160  ·  view source on GitHub ↗

swap (note: linear complexity)

Source from the content-addressed store, hash-verified

155
156 // swap (note: linear complexity)
157 void swap (array<T,N>& y) {
158 for (size_type i = 0; i < N; ++i)
159 boost::swap(elems[i],y.elems[i]);
160 }
161
162 // direct access to data (read-only)
163 const T* data() const { return elems; }

Callers 3

resizeMethod · 0.45
swapFunction · 0.45
concept_check.hppFile · 0.45

Calls 1

swapFunction · 0.70

Tested by

no test coverage detected