oss_src/zookeeper_util/zookeeper_common.cpp
std::vector<std::string> String_vector_to_vector(
    const struct String_vector* strings) {
  std::vector<std::string> ret;
  for (size_t i = 0;i < (size_t)(strings->count); ++i) {
    ret.push_back(strings->data[i]);
  }
  return ret;
}
// convert a zookeeper String_vector to a c++ vector<string>
convert a zookeeper String_vector to a c++ vector
convert a zookeeper String_vector to a c ++ vector
std::vector<std::string> String_vector_to_vector(
    const struct String_vector* strings) {
  std::vector<std::string> ret;
  for (size_t i = 0;i < (size_t)(strings->count); ++i) {
    ret.push_back(strings->data[i]);
  }
  return ret;
}
std :: vector < std :: string > String_vector_to_vector ( const struct String_vector * strings ) { std :: vector < std :: string > ret ; for ( size_t i = 0 ; i < ( size_t ) ( strings -> count ) ; ++ i ) { ret . push_back ( strings -> data [ i ] ) ; } return ret ; }
convert a zookeeper String_vector to a c++ vector<string>
convert a zookeeper String_vector to a c ++ vector<string >