Re: [boost] [ICL] some improvement proposals

23 May
2011
23 May
'11
1:24 p.m.
2011/5/23 Denis <denis@camfex.cz>:
Hi Joachim. I think, I explained badly and unclear the issue about contains(). If you will have look at its implementation, you will find there a few specialized versions of contains(), but all of them have structure of handmadely inlined code `!below(interval, elt) && !above(interval, elt)`. So it looks like those two functions are part of the minimal set, and contains() made on top of them. I propose to have there the specialized below() and above() and the general implementation of contains().
I understand. That would be a good refactoring making the code smaller and more concise. Good proposal :) Cheers, Joachim -- Interval Container Library [Boost.Icl] http://www.joachim-faulhaber.de
5135
Age (days ago)
5135
Last active (days ago)
0 comments
1 participants
participants (1)
-
Joachim Faulhaber