Searched defs:SimpleStorage (Results 1 – 1 of 1) sorted by relevance
17 struct SimpleStorage : public StorageUniquer::BaseStorage { struct18 using Base = SimpleStorage<ConcreteT, Args...>;19 using KeyTy = std::tuple<Args...>;21 SimpleStorage(KeyTy key) : key(key) {} in SimpleStorage() argument25 static ConcreteT *get(StorageUniquer &uniquer, ParamsT &&...params) { in get()31 static ConcreteT *construct(StorageUniquer::StorageAllocator &alloc, in construct()36 bool operator==(const KeyTy &key) const { return this->key == key; } in operator ==()38 KeyTy key;