MCPcopy Create free account
hub / github.com/apache/fory / ~ReadContextGuard

Method ~ReadContextGuard

cpp/fory/serialization/fory.h:200–203  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

198public:
199 explicit ReadContextGuard(ReadContext &ctx) : ctx_(ctx) {}
200 ~ReadContextGuard() {
201 ctx_.reset();
202 ctx_.detach();
203 }
204
205 ReadContextGuard(const ReadContextGuard &) = delete;
206 ReadContextGuard &operator=(const ReadContextGuard &) = delete;

Callers

nothing calls this directly

Calls 2

detachMethod · 0.80
resetMethod · 0.65

Tested by

no test coverage detected