MCPcopy Create free account
hub / github.com/cel-expr/cel-cpp / MoveFrom

Function MoveFrom

common/memory.h:262–264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260 static uintptr_t CopyFrom(uintptr_t other) noexcept { return Own(other); }
261
262 static uintptr_t MoveFrom(uintptr_t& other) noexcept {
263 return std::exchange(other, kNone);
264 }
265
266 static void Destroy(uintptr_t ptr) noexcept { Unown(ptr); }
267

Callers 3

OwnerFunction · 0.85
memory.hFile · 0.85
byte_string.hFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected