MCPcopy Create free account
hub / github.com/beefytech/Beef / MoveTo

Method MoveTo

BeefySysLib/util/Array.h:411–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409 }
410
411 void MoveTo(ArrayBase<T>& dest)
412 {
413 dest.mVals = this->mVals;
414 dest.mSize = this->mSize;
415 dest.mAllocSize = this->mAllocSize;
416
417 this->mVals = NULL;
418 this->mSize = 0;
419 this->mAllocSize = 0;
420 }
421
422 void Sort(std::function<bool(const T&, const T&)> pred)
423 {

Callers 1

CheckHotMethodMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected