#ifndef CONVERSIONS_H_ #define CONVERSIONS_H_ #include #include using std::string; using std::stringstream; class Conversions { public: Conversions() = default; ~Conversions()=default; template S cstringToString(const C* tmp, const int size) { stringstream cToS{}; for (auto index=0; index!=size; ++index) cToS<>tmpString; return tmpString; } template C stringToChar(const S& tmp) { stringstream sToC{}; for (auto tmpElements:tmp) sToC<>tmpChar; return tmpChar; } private: }; #endif