Subject: Re: [boost] [ICL] some improvement proposals
From: Joachim Faulhaber (afojgo_at_[hidden])
Date: 2011-05-23 09:24:03
2011/5/23 Denis <denis_at_[hidden]>:
> 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 :)
-- Interval Container Library [Boost.Icl] http://www.joachim-faulhaber.de
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk