Am Wed, 13 Jul 2022 11:14:53 +0200
schrieb Jean-Marc Lasgouttes <lasgouttes.lyx....@free.fr>:

> Le 13/07/2022 à 09:43, Kornel Benko a écrit :
> >>> I suspect that the two command
> >>> lists should be unified.  
> > 
> > Maybe in 2.5?  
> 
> I'll have a look.

Thanks.

> >> I just discovered that the sexy and fast way of removing a string from a
> >> vector of strings is the erase-remove idiom:
> >> https://en.wikipedia.org/wiki/Erase%E2%80%93remove_idiom  
> > 
> > Only valid for c++20.  
> 
> What is only C++20 is the std::erase with specializations, but 
> vector::erase seems to work with older versions.
> 
> JMarc

Yes, I was referring 'erase-remove'.

        Kornel

Attachment: pgpIFdcaWmLV7.pgp
Description: Digitale Signatur von OpenPGP

-- 
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to