// This is now a simple API wrapper around THashTable<T*>; // please just use SkTHash{Map,Set,Table} directly for new code. #include"src/core/SkTHash.h"
// Traits requires: // static const Key& GetKey(const T&) { ... } // static uint32_t Hash(const Key&) { ... } // We'll look on T for these by default, or you can pass a custom Traits type. template <typename T, typename Key, typename Traits = T> class SkTDynamicHash { public:
SkTDynamicHash() {}
// It is not safe to call set() or remove() while iterating with either foreach(). // If you mutate the entries be very careful not to change the Key.
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.