]> OCCT Git - occt.git/commit
0027571: Bad implementation of NCollection_Sequence::Iterator CR27571
authorski <ski@opencascade.com>
Wed, 28 Sep 2016 14:13:47 +0000 (17:13 +0300)
committerEugeny Maltchikov <eugeny.maltchikov@lpkf.com>
Thu, 20 Oct 2022 11:27:46 +0000 (14:27 +0300)
commit53f06757c24f3f96578f6f2daaa58a61f5f367ea
tree57babeab0a3c67ef0e947d458745804675d61d58
parent0b4962a7f04caef12d090d087b7196cefde0703c
0027571: Bad implementation of NCollection_Sequence::Iterator

Reverse iterator after creation points to the first iterated item now, i.e. last item of sequence.
Test case was created.
src/NCollection/NCollection_BaseSequence.hxx
src/NCollection/NCollection_Sequence.hxx
src/NCollection/NCollection_StlIterator.hxx
src/QABugs/QABugs_20.cxx
tests/bugs/fclasses/bug27571 [new file with mode: 0644]