KDevPlatform Itemrepository bucket freeItems

David Nolden david.nolden.kdevelop at art-master.de
Tue Mar 1 10:44:45 UTC 2011


Ah wait, now I look at the code and see that you've done it right,
extracting the functionality into a separate set of template
functions.

However, the code seems generic enough that there might somewhere be a
"finished" implementation, no?

I thought that those trees would be much simpler and much more compact
to implement, this really is a huge bunch of code. Such code is
_never_ without bugs, so if we should ever use this, it needs really
good unit-tests. However, like the others, I'd prefer re-using a
"finished" implementation, which will have most of the issues fleshed
out already. Maybe something can be ripped out of the internals of
STL? That one uses rb-trees for std::set etc.

Greetings, David




More information about the KDevelop-devel mailing list