14 #ifndef OR_TOOLS_UTIL_STRING_ARRAY_H_
15 #define OR_TOOLS_UTIL_STRING_ARRAY_H_
24 #define RETURN_STRINGIFIED_VECTOR(vector, separator, method) \
26 for (int i = 0; i < vector.size(); ++i) { \
27 if (i > 0) out += separator; \
28 out += vector[i] method; \
39 const std::string& separator) {
46 const std::string& separator) {
52 std::string
JoinNamePtr(
const std::vector<T>& v,
const std::string& separator) {
59 const std::string& separator) {
63 #undef RETURN_STRINGIFIED_VECTOR
The vehicle routing library lets one model and solve generic vehicle routing problems ranging from th...
std::string JoinDebugStringPtr(const std::vector< T > &v, const std::string &separator)
std::string JoinNamePtr(const std::vector< T > &v, const std::string &separator)
std::string JoinNameFieldPtr(const std::vector< T > &v, const std::string &separator)
std::string JoinDebugString(const std::vector< T > &v, const std::string &separator)
#define RETURN_STRINGIFIED_VECTOR(vector, separator, method)