MCPcopy Create free account
hub / github.com/BeneficialCode/WinArk / Add

Method Add

KernelLibrary/kvector.h:34–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 }
33
34 void Add(const T& value) {
35 NT_ASSERT(m_Size <= m_Capacity);
36 if (m_Size == m_Capacity)
37 Resize(m_Capacity * 2);
38 m_array[m_Size++] = value;
39 }
40
41 T& GetAt(size_t index) {
42 NT_ASSERT(index < m_Size);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected