[GiNaC-devel] Patch 3 updated description

Jan Rheinländer jrheinlaender at gmx.de
Thu Sep 9 11:25:59 CEST 2010


symmetry::compare_same_type(): const-correctness fix

Problem: The method in question is const, therefore one should use const_iterator to
access indices. Some compilers (for instance, MSVC) are very strict
about this, and won't accept (invalid) code using non-const iterator.

Solution: Changed it to const_iterator


-------------- next part --------------
A non-text attachment was scrubbed...
Name: symmetry.cpp.patch
Type: text/x-patch
Size: 392 bytes
Desc: not available
URL: <http://www.cebix.net/pipermail/ginac-devel/attachments/20100909/48c36220/attachment.patch>


More information about the GiNaC-devel mailing list