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

Method assign

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

Source from the content-addressed store, hash-verified

140 ~Handle() { if (m_obj) cleanup(m_cache, typeid(TagType), get_unowning(m_obj)); }
141
142 void assign(const T & obj) { m_obj = obj; }
143
144 const T & get() const & noexcept { return m_obj; }
145

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected