MCPcopy Create free account
hub / github.com/csyonghe/Spire / Add

Method Add

Source/CoreLib/Array.h:51–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49 _count = newSize;
50 }
51 inline void Add(const T & item)
52 {
53#ifdef _DEBUG
54 if (_count == size)
55 throw IndexOutofRangeException("out of range access to static array.");
56#endif
57 _buffer[_count++] = item;
58 }
59 inline void Add(T && item)
60 {
61#ifdef _DEBUG

Callers 1

InsertArrayFunction · 0.45

Calls 1

Tested by

no test coverage detected