MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / operator =

Method operator =

Libraries/unrar/array.hpp:168–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

166
167
168template <class T> void Array<T>::operator =(Array<T> &Src)
169{
170 Reset();
171 Alloc(Src.BufSize);
172 if (Src.BufSize!=0)
173 memcpy((void *)Buffer,(void *)Src.Buffer,Src.BufSize*sizeof(T));
174}
175
176
177template <class T> void Array<T>::Push(T Item)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected