MCPcopy Create free account
hub / github.com/OpenHD/OpenHD / Vec2String

Method Vec2String

OpenHD/ohd_common/lib/ini/ini.hpp:443–452  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

441
442template <typename T>
443inline 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
454template <typename T>
455inline T INIReader::Converter(const std::string& s) const {

Callers

nothing calls this directly

Calls 2

beginMethod · 0.80
endMethod · 0.80

Tested by

no test coverage detected