Error: attempt to compare iterators from different sequences
Jean-Marc Lasgouttes
lasgouttes at lyx.org
Sun May 19 18:49:52 UTC 2024
Le 19/05/2024 à 20:20, Jean-Marc Lasgouttes a écrit :
> If you look at the error details, it seems to me that the addresses are
> different. But this is weird.
>
> Note that we can use count() instead of find(), which would solve the
> issue.
What about that? It seems that the compiler was right after all. This is
where using assertions instead of full stdlib-debug is sub-optimal.
This does not mean that we should not use std::set::count().
JMarc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Do-not-return-InsetLayout-required-as-a-copy.patch
Type: text/x-patch
Size: 907 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240519/7576b5c2/attachment.bin>
More information about the lyx-devel
mailing list