Re: [PATCH 1/5] Make delim_string_to_char_ptr_vec return an std::vector

Simon Marchi
2018-03-03T04:23:58Z

On 2018-02-25 11:32 AM, Simon Marchi wrote:
> This patch makes delim_string_to_char_ptr_vec and all related functions
> use std::vector of gdb::unique_xmalloc_ptr. This allows getting rid of
> make_cleanup_free_char_ptr_vec. Returning a vector of
> unique_xmalloc_ptr instead of std::string allows to minimize the impacts
> on the calling code. We can evaluate later whether we could/should
> return a vector of std::strings instead.

This series is now pushed.

Simon