MCPcopy Create free account
hub / github.com/ChiyukiGana/Quickinput / append

Method append

source/src/tools/vector.h:454–459  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452 return base_vector::append(element);
453 }
454 void append(const base_vector& other)
455 {
456 std::vector<Ty> elements(other.begin(), other.end());
457 pushUndoRecord(OperationRecord(OperationType::Append, this->size(), elements.size(), elements));
458 base_vector::append(other);
459 }
460 void append(const base_vector& other, size_t begin, size_t end)
461 {
462 std::vector<Ty> elements(other.begin() + begin, other.begin() + end);

Callers

nothing calls this directly

Calls 4

OperationRecordClass · 0.85
beginMethod · 0.80
endMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected