#ifndef UTIL_H_440DEAA0 #define UTIL_H_440DEAA0 #include #include #include #include namespace twitter { template std::string implode(InputIterator first, InputIterator last, std::string delimiter) { std::stringstream result; for (InputIterator it = first; it != last; it++) { if (it != first) { result << delimiter; } result << *it; } return result.str(); } time_t timegm(struct tm * t); }; #endif /* end of include guard: UTIL_H_440DEAA0 */