https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112373

Jonathan Wakely <redi at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2023-11-03

--- Comment #1 from Jonathan Wakely <redi at gcc dot gnu.org> ---
The struct is:

struct cset_converter
{
  convert_f func;
  iconv_t cd;
  int width;
  const char* from;
  const char* to;
};

So it's not too expensive to copy, but const cset_converter& would indeed be
cheaper.

Reply via email to