MCPcopy Create free account
hub / github.com/ARM-software/ComputeLibrary / join

Function join

tests/framework/Utils.h:105–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

103 */
104template <typename T, typename std::enable_if<std::is_same<typename T::value_type, std::string>::value, int>::type = 0>
105std::string join(T first, T last, const std::string &separator)
106{
107 return std::accumulate(std::next(first), last, *first,
108 [&separator](const std::string &base, const std::string &suffix)
109 { return base + separator + suffix; });
110}
111
112/** Helper function to concatenate multiple values.
113 *

Callers 2

current_suite_nameMethod · 0.70
print_measurementsMethod · 0.50

Calls 1

accumulateFunction · 0.85

Tested by

no test coverage detected