Dealt with mixed use between (const char *) and (std::string) in a single join() call. Accompanying unit test.