mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 18:50:05 +00:00
26 lines
343 B
C++
26 lines
343 B
C++
#include <scwx/util/strings.hpp>
|
|
|
|
namespace scwx
|
|
{
|
|
namespace util
|
|
{
|
|
|
|
std::string ToString(const std::vector<std::string>& v)
|
|
{
|
|
std::string value {};
|
|
|
|
for (const std::string& s : v)
|
|
{
|
|
if (!value.empty())
|
|
{
|
|
value += ", ";
|
|
}
|
|
|
|
value += s;
|
|
}
|
|
|
|
return value;
|
|
}
|
|
|
|
} // namespace util
|
|
} // namespace scwx
|