MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / cache

Method cache

include/dpp/cache.h:70–72  ·  view source on GitHub ↗

* @brief Construct a new cache object. * * @note Caches must contain classes derived from dpp::managed. */

Source from the content-addressed store, hash-verified

68 * @note Caches must contain classes derived from dpp::managed.
69 */
70 cache() {
71 cache_map = new std::unordered_map<snowflake, T*>;
72 }
73
74 /**
75 * @brief Destroy the cache object

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected