Use pool in std::unordered_map

This commit is contained in:
Siarhei Fedartsou 2024-07-11 23:22:45 +02:00
parent e045dea04c
commit 21f53ed6dd

View File

@ -30,6 +30,7 @@ public:
return instance;
}
// TODO: alignment!!!
template <typename T>
T *allocate(std::size_t n)
{