joechenq / quimeraengine

Automatically exported from code.google.com/p/quimeraengine
0 stars 0 forks source link

Add iterator's container checking in container methods #640

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It would be useful to check whether an input iterator is pointing to the 
resident container or not, as an assertion. This task affects to the following 
methods:

QFixedArray
-GetRange
-Swap
-PositionOf

QDynamicArray
-Insert
-Remove
-InsertRange(position)
-RemoveRange
-GetRange

QList
-Insert
-Remove
-GetRange
-Swap
-PositionOf
-InsertRange
-RemoveRange

QNTree
-AddChild
-Remove
-RemoveChild
-InsertChild
-GetChild
-GetParent
-GetChildrenCount
-HasChildren
-HasParent
-PositionOf
-GetFirstChild
-GetLastChild
-Swap

QBinarySearchTree
-Remove

Original issue reported on code.google.com by Lince3D@gmail.com on 15 Nov 2014 at 10:30

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 28 Jan 2015 at 1:11

GoogleCodeExporter commented 9 years ago

Original comment by Lince3D@gmail.com on 9 Feb 2015 at 6:30