← Back to team overview

yade-dev team mailing list archive

Re: [Branch ~yade-dev/yade/trunk] Rev 2962: - make body iterators jump empty slots, as suggested and discussed here: http://www.mail-archive....

 

> Anton, do you agree that we cannot fix a bug in hundred places in the
> code, everywhere the container is used?

It is already fixed in almost all places.

> A more complicated approach is to make special handling in container
> when a body is deleted. After all a C++ ISO container has method
> erase() in it's specification. So It would be a matter of
> implementing it correctly. As Bruno pointed that will need some more
> thinking, to handle redirections.

If it is not implemented, there are, probably, some serious reasons for that.
It needs to be investigated before any changes.

Yade code is pretty stable for last 1 year.
We should be careful not to break the code.

Anton


Follow ups

References