mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
24 lines
507 B
C++
24 lines
507 B
C++
//============ Copyright Valve Corporation, All rights reserved. ============//
|
|
//
|
|
// Purpose:
|
|
//
|
|
// $NoKeywords: $
|
|
//
|
|
// A growable array class that maintains a free list and keeps elements
|
|
// in the same location
|
|
//===========================================================================//
|
|
#pragma once
|
|
|
|
#include "tier1/utlmemory.h"
|
|
|
|
template< class T, class A = CUtlMemory<T> >
|
|
class CUtlVector
|
|
{
|
|
typedef A CAllocator;
|
|
public:
|
|
typedef T ElemType_t;
|
|
protected:
|
|
CAllocator m_Memory;
|
|
int m_Size;
|
|
};
|