Custom implementation of string instead of std::string