ImVector<> access to Size/Capacity/Data (#262)

This commit is contained in:
ocornut
2015-07-07 12:39:08 -06:00
parent 502e360ee5
commit 3869e10574
2 changed files with 135 additions and 136 deletions

View File

@ -741,12 +741,11 @@ struct ImGuiIO
template<typename T>
class ImVector
{
protected:
public:
int Size;
int Capacity;
T* Data;
public:
typedef T value_type;
typedef value_type* iterator;
typedef const value_type* const_iterator;