mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 23:40:06 +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
 | 
