MCPcopy Create free account
hub / github.com/Snapchat/djinni / Handle

Method Handle

support-lib/proxy_cache_interface.hpp:136–137  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

134 class Handle {
135 public:
136 template <typename... Args> Handle(Args &&... args)
137 : m_cache(get_base()), m_obj(std::forward<Args>(args)...) {}
138 Handle(const Handle &) = delete;
139 Handle & operator=(const Handle &) = delete;
140 ~Handle() { if (m_obj) cleanup(m_cache, typeid(TagType), get_unowning(m_obj)); }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected