MCPcopy Create free account
hub / github.com/cameron314/concurrentqueue / Foo

Method Foo

tests/unittests/unittests.cpp:160–160  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 static void reset() { createCount() = 0; destroyCount() = 0; nextId() = 0; destroyedInOrder() = true; lastDestroyedId() = -1; }
159
160 Foo() { id = nextId()++; ++createCount(); }
161 Foo(Foo const&) MOODYCAMEL_DELETE_FUNCTION;
162 Foo(Foo&& other) { id = other.id; other.id = -1; }
163 void operator=(Foo&& other) { id = other.id; other.id = -1; }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected