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

Method Moveable

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

Source from the content-addressed store, hash-verified

192
193struct Moveable {
194 Moveable(int id) : moved(false), copied(false), id(id) { }
195 Moveable(Moveable&& o) MOODYCAMEL_NOEXCEPT : moved(true), copied(o.copied), id(o.id) { }
196 void operator=(Moveable&& o) MOODYCAMEL_NOEXCEPT { moved = true; copied = o.copied; id = o.id; }
197 bool moved;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected