MCPcopy Create free account
hub / github.com/celtera/libremidi / move_construct

Method move_construct

include/libremidi/system_error2.hpp:1467–1474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1465 }
1466
1467 static string_ref::state_type move_construct(string_ref&& base) noexcept
1468 {
1469 shared_string_ref& s = static_cast<shared_string_ref&>(base);
1470 auto st = s.state();
1471 s.context = nullptr;
1472 s.clear();
1473 return st;
1474 }
1475
1476 static void destroy(string_ref& base) noexcept
1477 {

Callers

nothing calls this directly

Calls 2

stateMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected