The commented behavior of CollectionInterface and iterator is not correct.
If you have a collection class using a internal stl container, deriving from CollectionInterface will not work as the iterator is not well formed. ex
class TVMContour : public CollectionInterface<TVMPoint>
{
public:
typedef TVMComponent inherited;
typedef std::vector<TVMPoint> ContourPoints;
The commented behavior of CollectionInterface and iterator is not correct.
If you have a collection class using a internal stl container, deriving from CollectionInterface will not work as the iterator is not well formed. ex