MCPcopy Create free account
hub / github.com/Norbyte/bg3se / remove_at

Method remove_at

CoreLib/Base/BaseArray.h:772–782  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

770 }
771
772 void remove_at(size_type index)
773 {
774 se_assert(index < size_);
775
776 if (index + 1 < size_) {
777 buf_[index] = std::move(buf_[size_ - 1]);
778 }
779
780 buf_[size_ - 1].~T();
781 size_--;
782 }
783
784 void ordered_remove_at(size_type index)
785 {

Callers 2

removeAtMethod · 0.45
RemoveAtMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected