MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / swap

Method swap

proto/test.cpp:248–296  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void StructSimple::swap(StructSimple& other) noexcept
249{
250 using std::swap;
251 swap(id, other.id);
252 swap(f1, other.f1);
253 swap(f2, other.f2);
254 swap(f3, other.f3);
255 swap(f4, other.f4);
256 swap(f5, other.f5);
257 swap(f6, other.f6);
258 swap(f7, other.f7);
259 swap(f8, other.f8);
260 swap(f9, other.f9);
261 swap(f10, other.f10);
262 swap(f11, other.f11);
263 swap(f12, other.f12);
264 swap(f13, other.f13);
265 swap(f14, other.f14);
266 swap(f15, other.f15);
267 swap(f16, other.f16);
268 swap(f17, other.f17);
269 swap(f18, other.f18);
270 swap(f19, other.f19);
271 swap(f20, other.f20);
272 swap(f21, other.f21);
273 swap(f22, other.f22);
274 swap(f23, other.f23);
275 swap(f24, other.f24);
276 swap(f25, other.f25);
277 swap(f26, other.f26);
278 swap(f27, other.f27);
279 swap(f28, other.f28);
280 swap(f29, other.f29);
281 swap(f30, other.f30);
282 swap(f31, other.f31);
283 swap(f32, other.f32);
284 swap(f33, other.f33);
285 swap(f34, other.f34);
286 swap(f35, other.f35);
287 swap(f36, other.f36);
288 swap(f37, other.f37);
289 swap(f38, other.f38);
290 swap(f39, other.f39);
291 swap(f40, other.f40);
292 swap(f41, other.f41);
293 swap(f42, other.f42);
294 swap(f43, other.f43);
295 swap(f44, other.f44);
296}
297
298std::ostream& operator<<(std::ostream& stream, const StructSimple& value)
299{

Callers

nothing calls this directly

Calls 1

swapFunction · 0.85

Tested by

no test coverage detected