MCPcopy Create free account
hub / github.com/Notgnoshi/generative / join

Function join

tests/wkt-reader-tests.cpp:153–165  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

151
152template<typename Iterator>
153static std::string join(Iterator begin, Iterator end, char separator = ' ')
154{
155 std::ostringstream out;
156 if (begin != end)
157 {
158 out << *begin++;
159 for (; begin != end; ++begin)
160 {
161 out << separator << *begin;
162 }
163 }
164 return out.str();
165}
166
167TEST(WktReaderTests, TestDuplicateGeometry)
168{

Callers 1

TESTFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected