Avoid std::string in libraries to avoid issues with stdlib differences in ios