Use pool in std::unordered_map
This commit is contained in:
parent
e045dea04c
commit
21f53ed6dd
@ -30,6 +30,7 @@ public:
|
|||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: alignment!!!
|
||||||
template <typename T>
|
template <typename T>
|
||||||
T *allocate(std::size_t n)
|
T *allocate(std::size_t n)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user