MCPcopy Create free account
hub / github.com/Project-OSRM/osrm-backend / join

Method join

include/engine/api/base_api.hpp:160–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158 private:
159 // Helper join function using std
160 template <typename Range> std::string join(Range &&range, const std::string &delimiter) const
161 {
162 std::ostringstream result;
163 auto it = std::begin(range);
164 const auto end = std::end(range);
165
166 if (it != end)
167 {
168 result << *it++;
169 while (it != end)
170 {
171 result << delimiter << *it++;
172 }
173 }
174 return result.str();
175 }
176};
177
178} // namespace osrm::engine::api

Callers 15

index.jsFile · 0.80
spawnMethod · 0.80
beforeMethod · 0.80
table_diff.jsFile · 0.80
data.jsFile · 0.80
testRoutabilityRowFunction · 0.80
matching.jsFile · 0.80
constructorMethod · 0.80
getCacheBaseNameMethod · 0.80
mkBinPathFunction · 0.80
runBinFunction · 0.80
runBinSyncFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected