refactor(*): use CAllocatableObject instead of CElementalObject
This commit is contained in:
@ -17,7 +17,7 @@ NAMESPACE_MODULE_BEGIN(Redcraft)
|
||||
NAMESPACE_MODULE_BEGIN(Utility)
|
||||
|
||||
/** Dynamic array. The elements are stored contiguously, which means that elements can be accessed not only through iterators, but also using offsets to regular pointers to elements. */
|
||||
template <CElementalObject T, CAllocator<T> Allocator = FHeapAllocator> requires (!CConst<T>)
|
||||
template <CAllocatableObject T, CAllocator<T> Allocator = FHeapAllocator>
|
||||
class TArray final
|
||||
{
|
||||
private:
|
||||
|
Reference in New Issue
Block a user