MCPcopy Create free account
hub / github.com/YACReader/yacreader / join

Method join

YACReaderLibrary/db/query_parser.cpp:242–248  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

240}
241
242std::string QueryParser::join(const QStringList &strings, const std::string &delim)
243{
244 return std::accumulate(strings.begin(), strings.end(), std::string(),
245 [&delim](const std::string &a, const QString &b) -> std::string {
246 return a + (a.length() > 0 && b.length() > 0 ? delim : "") + b.toStdString();
247 });
248}
249
250QStringList QueryParser::split(const std::string &string, char delim)
251{

Callers 14

safeCoverPathFunction · 0.80
showFolderFunction · 0.80
multipleUserThreadsMethod · 0.80
randomCallsMethod · 0.80
getGlobalInfoMethod · 0.80
~ConcurrentQueueMethod · 0.80
~WorkerThreadMethod · 0.80
pageSuffixFunction · 0.80
createMethod · 0.80
updateMethod · 0.80
parseCVJSONComicInfoMethod · 0.80

Calls

no outgoing calls

Tested by 3

multipleUserThreadsMethod · 0.64
randomCallsMethod · 0.64