MCPcopy Create free account
hub / github.com/FastLED/FastLED / swap

Method swap

tests/fl/stl/type_traits.cpp:24–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22 int value;
23 SwappableClass(int v = 0) : value(v) {}
24 void swap(SwappableClass& other) {
25 int tmp = value;
26 value = other.value;
27 other.value = tmp;
28 }
29};
30
31FL_TEST_CASE("fl::integral_constant") {

Callers 15

FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
flat_map.cppFile · 0.45
FL_TEST_FILEFunction · 0.45
flat_set.cppFile · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45
FL_TEST_FILEFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected