Do direct assignment:
  std::vector<...> x_values = ...