| 441 | |
| 442 | template <typename T> |
| 443 | inline std::string INIReader::Vec2String(const std::vector<T>& v) const { |
| 444 | if (v.empty()) { |
| 445 | return ""; |
| 446 | } |
| 447 | std::ostringstream oss; |
| 448 | std::copy(v.begin(), v.end() - 1, std::ostream_iterator<T>(oss, " ")); |
| 449 | oss << v.back(); |
| 450 | |
| 451 | return oss.str(); |
| 452 | } |
| 453 | |
| 454 | template <typename T> |
| 455 | inline T INIReader::Converter(const std::string& s) const { |