/******************************************************************************/ /* */ /* ::: :::::::: */ /* string.hpp :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: vvaas +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2024/01/20 19:13:26 by maldavid #+# #+# */ /* Updated: 2024/02/06 12:35:38 by vvaas ### ########.fr */ /* */ /******************************************************************************/ #ifndef __UNSTD_STRING__ #define __UNSTD_STRING__ #include #include #include namespace unstd { template std::string toString(T n) { std::ostringstream ss; ss << n; return ss.str(); } std::vector split(const std::string& s, char delim); } #endif