MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / take

Method take

extlibs/sol3/include/sol/sol.hpp:4460–4464  ·  view source on GitHub ↗

Takes the value out of the optional, leaving it empty \group take

Source from the content-addressed store, hash-verified

4458 /// Takes the value out of the optional, leaving it empty
4459 /// \group take
4460 optional take() & {
4461 optional ret = *this;
4462 reset();
4463 return ret;
4464 }
4465
4466 /// \group take
4467 optional take() const& {

Callers

nothing calls this directly

Calls 1

resetFunction · 0.85

Tested by

no test coverage detected