Comment fixes

This commit is contained in:
Istvan Haller
2021-08-23 19:19:58 +01:00
parent 4d2bf93b7a
commit 35c9422913
2 changed files with 7 additions and 2 deletions

View File

@@ -345,7 +345,7 @@ namespace snmalloc
public:
constexpr LocalAllocator() = default;
LocalAllocator(const LocalAllocator&) = delete;
LocalAllocator& operator= (const LocalAllocator&) = delete;
LocalAllocator& operator=(const LocalAllocator&) = delete;
/**
* Initialise the allocator. For allocators that support local

View File

@@ -9,7 +9,7 @@
namespace snmalloc
{
/**
* Pool of Allocators.
* Pool of a particular type of object.
*
* This pool will never return objects to the OS. It maintains a list of all
* objects ever allocated that can be iterated (not concurrency safe). Pooled
@@ -112,6 +112,11 @@ namespace snmalloc
}
};
/**
* Collection of static wrappers for the allocator pool.
* The PoolState for this particular pool type is owned by the
* SharedStateHandle, so there is no object state in this class.
*/
template<typename T>
class AllocPool
{