Return array capacity

This commit is contained in:
Irlan Robson 2017-11-12 20:21:22 -02:00 committed by GitHub
parent ff00ab381e
commit 11596e5162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -96,6 +96,11 @@ public:
return m_elements[m_count - 1];
}
u32 Capacity() const
{
return m_capacity;
}
u32 Count() const
{
return m_count;