MCPcopy Create free account
hub / github.com/comaps/comaps / Insert

Method Insert

libs/coding/coding_tests/diff_test.cpp:112–120  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111 template <typename IterT>
112 void Insert(IterT it, size_t n)
113 {
114 if (n == 0)
115 return;
116 m_Stream << "+";
117 for (size_t i = 0; i < n; ++i, ++it)
118 m_Stream << *it;
119 m_Stream << ".";
120 }
121 void Finalize() {}
122 string Str() { return m_Stream.str(); }
123

Callers 1

UNIT_TESTFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected