On 26 April 2019 14:07:20 CEST, Richard Biener <richard.guent...@gmail.com> wrote: >On Fri, Apr 26, 2019 at 11:26 AM Martin Liška <mli...@suse.cz> wrote: >> >> Hi. >> >> We do have vec<...>::is_empty function, but not for >hash_{table,map,set}. >> Would you mind adding the function and using it? If so, I can prepare >> a complete patch that will replace all usages of 'elements () > 0', >'!elements ()', ... > >Works for me.
Being internal, maybe the shorter empty_p()? thanks,