[GiNaC-devel] Mysterious push_front()

Jan Rheinländer jrheinlaender at gmx.de
Sat Mar 5 15:18:23 CET 2022


Hi Richard,

here are two patches: One for push_front() / pop_front(), the other for 
sort().

Jan

Am 05.03.22 um 12:49 schrieb Richard B. Kreckel:
> Hi Jan,
>
> On 04.03.22 17:54, Jan Rheinländer wrote:
>> Why not change the code of prepend() in container.h to use insert()
>> instead of push_front()? Then I think it will work for all STL containers.
> We always welcome suggestions and we welcome patches which have been
> tried out successfully even more!
>
>    -richy.
> _______________________________________________
> GiNaC-devel mailing list
> GiNaC-devel at ginac.de
> https://www.ginac.de/mailman/listinfo/ginac-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20220305/4f5d7d75/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: container_sort.patch
Type: text/x-patch
Size: 300 bytes
Desc: not available
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20220305/4f5d7d75/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: container_pushpop.patch
Type: text/x-patch
Size: 512 bytes
Desc: not available
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20220305/4f5d7d75/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 840 bytes
Desc: OpenPGP digital signature
URL: <http://www.ginac.de/pipermail/ginac-devel/attachments/20220305/4f5d7d75/attachment.sig>


More information about the GiNaC-devel mailing list