MCPcopy Create free account
hub / github.com/covscript/covscript / try_move

Method try_move

include/covscript/core/variable.hpp:902–906  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

900 }
901
902 void try_move() const
903 {
904 if (mDat != nullptr && mDat->refcount == 1)
905 mDat->protect_level = -1;
906 }
907
908 bool usable() const noexcept
909 {

Callers 2

rvalueFunction · 0.80
try_moveFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected