This repository has been archived on 2024-06-13. You can view files and clone it, but cannot push or open issues or pull requests.
nekohook/modules/csgo/sdk/CUtlVector.h
2020-08-04 13:13:01 -04:00

17 lines
285 B
C++

#pragma once
template <class T, class A = CUtlMemory<T>>
class CUtlVector {
typedef A CAllocator;
public:
T& operator[](int i) { return m_Memory[i]; }
int Count() const { return m_Size; }
protected:
CAllocator m_Memory;
int m_Size;
T* m_pElements;
};